LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 05-04-2008, 11:04 AM   #1
alkaff
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
Exclamation 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
 
Old 05-04-2008, 01:00 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,528

Rep: Reputation: 177Reputation: 177
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
 
Old 05-05-2008, 10:56 AM   #3
alkaff
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0
i try that

but i didinot find the file libc.so.6 ,i find lib.so.6
 
Old 05-05-2008, 03:53 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,528

Rep: Reputation: 177Reputation: 177
I suggest that you go back and do the install of libc again.

----------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chroot: error while loading shared libraries: /lib/libc.so.6: file too short ilyaz121 Debian 5 06-30-2006 03:06 PM
syslogd: error while loading shared libraries: /lib/ld-linux.so.2: cannot apply addit dsids Linux - Newbie 1 04-15-2006 02:14 AM
syslogd: error while loading shared libraries: /lib/ld-linux.so.2: cannot apply addit dsids Linux - Security 1 04-14-2006 04:24 AM
kudzu error loading libraries & respawning too fast error CatherineBennet Linux - Newbie 0 01-05-2005 05:04 PM
aim: error while loading shared libraries: /usr/lib/libgdk-1.2.so.0: undefined symbol dr_zayus69 Linux - Software 1 12-11-2004 09:10 PM


All times are GMT -5. The time now is 05:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration