[ug-bosug] Copying .so files into chroot environment (Was: BeleniX Remastering Toolkit)
Moinak Ghosh
Moinak.Ghosh at Sun.COM
Thu Aug 24 11:22:18 PDT 2006
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.
Regards,
Moinak.
Moinak.
>
> Here's the output (ldd /usr/sbin/pkgadd in chroot env):
>
> /usr/foss/lib/libiconv_plug.so
> libpkg.so.1 => /usr/lib/libpkg.so.1
> libadm.so.1 => /lib/libadm.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> libsocket.so.1 => /lib/libsocket.so.1
> libelf.so.1 => /lib/libelf.so.1
> libwanboot.so.1 => /usr/lib/libwanboot.so.1
> libssl.so.0.9.7 => (file not found)
> libcrypto.so.0.9.7 => (file not found)
> libmd5.so.1 => /lib/libmd5.so.1
> libzonecfg.so.1 => /usr/lib/libzonecfg.so.1
> libcontract.so.1 => /lib/libcontract.so.1
> libc.so.1 => /lib/libc.so.1
> libgcc_s.so.1 => /usr/foss/lib/libgcc_s.so.1
> libgendb.so.1 => /usr/lib/libgendb.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
> libscf.so.1 => /lib/libscf.so.1
> libnvpair.so.1 => /lib/libnvpair.so.1
> libresolv.so.2 => /lib/libresolv.so.2
> libdevinfo.so.1 => /lib/libdevinfo.so.1
> libdhcputil.so.1 => /lib/libdhcputil.so.1
> libinetutil.so.1 => /lib/libinetutil.so.1
> libcrypto.so.0.9.8 => /usr/sfw/lib/libcrypto.so.0.9.8
> libssl.so.0.9.8 => /usr/sfw/lib/libssl.so.0.9.8
> libuuid.so.1 => /lib/libuuid.so.1
> libsysevent.so.1 => /lib/libsysevent.so.1
> libsec.so.1 => /lib/libsec.so.1
> libxml2.so.2 => /usr/foss/lib/libxml2.so.2
> libxml2.so.2 (SUNW_1.4) => (version not found)
> libpkgdb.so.1 => /usr/lib/libpkgdb.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libgen.so.1 => /lib/libgen.so.1
> libavl.so.1 => /lib/libavl.so.1
> libdl.so.1 => /lib/libdl.so.1
> libpthread.so.1 => /lib/libpthread.so.1
> libz.so => /usr/lib/libz.so
> libm.so => /lib/libm.so
> libcrypto_extra.so.0.9.8 =>
> /usr/sfw/lib/libcrypto_extra.so.0.9.8
> libssl_extra.so.0.9.8 =>
> /usr/sfw/lib/libssl_extra.so.0.9.8
> _______________________________________________
> 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-bosug
mailing list