> From: Michael Havens <[email protected]> > Date: Thu, 5 Nov 2015 07:39:15 -0500 > To: LFS Support List <[email protected]> > Subject: Re: [lfs-support] 5.33 > > On Wed, Nov 4, 2015 at 5:58 PM, William Harrington <[email protected]> > wrote: > > > > run the following, your interpreter may be wrong or missing: > > > > readelf -e /tools/bin/ls | grep interp > > > > ~$ readelf -e /tools/bin/ls | grep interp > bash: /tools/bin/readelf: No such file or directory > bash: /tools/bin/grep: No such file or directory > > > > > > It should be using /tools/lib or /tools/lib64 > > > > You can check all of the binaries in /tools/bin if you want. > > > > $ ls /tools/bin > bash: /tools/bin/ls: No such file or directory > > I don't know what I did to LFS. Guess I'll start over. > here is my history <http://pastebin.com/N5RamvxH>.
Have you done something simple like got $PATH wrong - e.g. have you incorrectly put a space after the first colon, such that it's only looking in /tools/..... , and skipping /bin &c. What do you get from: echo $PATH Also, when doing the above 'readelf ...' and 'ls ...', try it with the full paths - e.g. '/usr/bin/readelf ...' (or '/bin/readelf ...' if nec), '/bin/ls ...' . If you just type 'cp' or 'mv' or 'readelf' or 'ls' &c, without full or relative pathnames, then normally $PATH is searched for the command. Also, you should be able to verify what $LFS says; plus whether /tools/bin/ exists and is mounted, and what it contains; plus whether you are in chroot or not. Last thing, as a general point, stated again: it really really is normally very useful to have built the book manually at least once, prior to trying scripting it. hth, akh > -- > :-)~MIKE~(-: -- -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
