On July 23, 2005 07:32 pm, Matt Bartley wrote:

<snip>
>       [Requesting program interpreter: /lib/ld-linux-so.2]

That looks fine.

Let's track it down from there. /lib/ld-linux.so.2 (inside chroot, so make 
sure when you check this out you're looking in the right directory) is a 
symlink to the read dynamic linker. If you're using the latest LFS book that 
would be /lib/ld-2.3.5.so

When you try to run the a.out program, it will try to laod /lib/ld-linux.so.2. 
If this symlink isn't set correctly, it's going to fail with a "No such file 
or directory" error. It's refering to the ld-linux.so.2 file, not a.out 
although the error itself doesn't hint to it. It's a bit confusing.

Does your symlink exist and does it point to something valid (run ls 
-l /lib/ld-linux.so.2 to verify)? You should be able to run it just like any 
other program. When you execute /lib/ld-linux.so.2, what happens?



-- 
Gerard Beekmans

/* If Linux doesn't have the solution, you have the wrong problem */

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to