-   Linux From Scratch (
-   -   chroot error while loading libraries (

alkaff 05-04-2008 11:04 AM

chroot error while loading libraries
hi there is an error with th chroot ;
root [ ~ ]# chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin/mnt/lfs/tools/bin/bash --login +h

and it says:
/tools/bin/env:error while loding libraries cannot open shared object file : No such file or directory

jailbait 05-04-2008 01:00 PM

Check to see if exists:
find /lib -iname "**"

If is a symbolic link make sure that it links to the correct module.

Check /etc/ to make sure ldconfig is set up properly. See:

man ldconfig

Steve Stites

alkaff 05-05-2008 10:56 AM

i try that
but i didinot find the file ,i find

jailbait 05-05-2008 03:53 PM

I suggest that you go back and do the install of libc again.

Steve Stites

All times are GMT -5. The time now is 02:14 PM.