LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   chroot error while loading libraries lib.so.6 (http://www.linuxquestions.org/questions/linux-from-scratch-13/chroot-error-while-loading-libraries-lib-so-6-a-639812/)

alkaff 05-04-2008 11:04 AM

chroot error while loading libraries lib.so.6
 
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 libc.so.6: cannot open shared object file : No such file or directory

jailbait 05-04-2008 01:00 PM

Check to see if libc.so.6 exists:
find /lib -iname "*libc.so.6*"

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

Check /etc/ld.so.conf 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 libc.so.6 ,i find lib.so.6

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:17 PM.