env, not finding shared libaries- chap 6

Jeremy Utley jeremy at linuxfromscratch.org
Thu Nov 27 21:52:02 PST 2003


In article <20031127224704.87878.qmail at web60604.mail.yahoo.com>, John Wyatt wrote:
> /tools/bin/env: error while loading shared libraries:
> libc.so.6: cannot open shared object file: No such
> file or directory
> 
> using the same chroot command from the book(5.0cvs), I
> keep getting this error, yet libc.so.6 exists in lib.
> 
> (tested with and without moified cflags)
> (excuse my poor spelling)
> (unlikly that I messed up somewhere with typing the
> commands in, sence I use my own hand{or keyboard}made
> scripts
> 
> ask me if you need more info
> 
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree

Outside chroot, please try to run the following command:

readelf -l /tools/bin/env | grep interpreter

If it doesn't report that it's requesting an interpreter
in /tools/lib - then you screwed up somewhere along the
way - most usually the PATH being set incorrectly.

-J-



More information about the lfs-support mailing list