[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: searching program on amd64 for...



On Thu, Oct 13, 2005 at 10:37:08AM -0400, Lennart Sorensen wrote:
> It is simpler and cleaner to just add your chroot lib dirs to
> /etc/ld.so.conf
> 
> Only disadvantage is that you must comment them out before doing a libc6
> package upgrade.  Other than that, it is nice and clean.
> 
> That way any lib installed in the chroot is accessable to 32bit programs
> outside the chroot.
> 
> Len Sorensen

My chroot is located at /chroot, so I added those libs to
/etc/ld.so.conf which gives me:
    /usr/X11R6/lib
    /emul/ia32-linux/lib
    /emul/ia32-linux/usr/lib
    /emul/ia32-linux/usr/X11R6/lib
    /chroot/lib
    /chroot/usr/lib
    /chroot/usr/X11R6/lib
    /chroot/usr/local/lib
But when I run ldd /usr/bin/skype I get the same output.  Several
libraries, such as libpng12.so.0 are not found, even though they are
in /chroot/usr/lib.  Did I do something wrong?
Thanks,
Ric



Reply to: