On Thu, 30 Jun 2005, David Ciecierski wrote:

Do you have execute permission on the file?
ls -l find

[EMAIL PROTECTED] bin]# ls -l find
-rwxr-xr-x  1 root root 282011 Jun 30 00:14 find


Is it in fact an executable format file?
file find

[EMAIL PROTECTED] bin]# file find
find: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, for GNU/Linux 2.2.5, for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

<scratching_his_head> Hmm, still no idea what could be the problem. Could it have something to do with compilation taking place after chrooting? But if so - why?

How about checking for the libraries it's linked against. Here's what I get
on my home setup:

        $ ldd /usr/bin/find
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7eeb000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fee000)

then go and check that the libraries referenced by path/file are really there

GOod luck!
--
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