[ug-bosug] Re: Copying .so files into chroot environment (Was: BeleniX
Remastering Toolkit)
Eric Boutilier
Eric.Boutilier at sun.com
Thu Aug 24 14:10:23 PDT 2006
On Thu, 24 Aug 2006, Moinak Ghosh wrote:
> Eric Boutilier wrote:
>> On Thu, 24 Aug 2006, Moinak Ghosh wrote:
>> [...]
>>
>>>
>>> An output of ldd on pkgadd in the chrooted environment should give
>>> more
>>> clues.
>>
>> I thought of that too (which pretty much is the limit of my
>> linker troubleshooting ability, unfortunately), but only saw
>> what I expected to see; namely, "file not found" for those
>> two libraries.
> Looks quite weird. You can try "ldd -s" which will display the search
> path used to locate each library.
>
> The other thing is to create a link of the 0.9.7 version from /usr/lib to
> the 0.9.8 version. It should work.
>
> Finally one more suggestion, and I guess this just might be the root
> cause. Check for the existence of /space/livecd_proto/var/ld/ld.config
> file. Remove it if it exists. This is the crle cache used to reduce CDROM
> path scanning by the linker. If this file exists then ldd with not detect
> new library files or symlinks. Time to update the remastering doc.
Ah ha, that was it. Great sleuthing, thank you!
Eric
_______________________________________________
ug-bosug mailing list
List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
List-Owner: mailto:ug-bosug-owner at opensolaris.org
List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
More information about the ug-discuss
mailing list