Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread Matthew Burgess
David Ciecierski wrote: root:/tools/bin# ls find find root:/tools/bin# ./find --help bash: ./find: No such file or directory It probably compiled against the wrong libc (or some other library) due to the specs file changes. If you do an 'ldd /tools/bin/find' it should tell you what librarie

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread David Ciecierski
> Your problem, I believe, was building the package > as host root without PATH set to /tools/bin first in line. David, Yes, of course you were right. I had forgotten that only logging as lfs cleans the environment and sets PATH correctly... Have just rebuilt find and it works like a charm. I g

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread David Jensen
David Jensen wrote: ]# bash ]#export path = /tools/bin:$PATH then build chapter-5 find . ]#exit -- David Jensen oops ]#export PATH=/tools/bin:$PATH -- David Jensen -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: Se

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread David Jensen
David Ciecierski wrote: Running ldd on 'home' system (in /tools/bin): [EMAIL PROTECTED] bin]# ldd /tools/bin/find libc.so.6 => /lib/tls/libc.so.6 (0x00246000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0022e000) Your problem, I believe, was building the package as host root wit

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread David Ciecierski
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 => (0xe000) libc.so.6 => /lib/libc.so.6 (0xb7eeb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fee000) Running ldd on 'home' system (in

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread michael
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 L

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread David Ciecierski
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 (SY

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread michael
Do you have execute permission on the file? ls -l find Is it in fact an executable format file? file find On Thu, 30 Jun 2005, David Ciecierski wrote: Hello again, I'm now stuck with a strange 'cannot-see-it' problem. Initially I did not compile findutils; only now at the be

Re: Ch.6 peculiar bash / find problem

2005-06-29 Thread Jim Gifford
David Ciecierski wrote: Hello again, I'm now stuck with a strange 'cannot-see-it' problem. Initially I did not compile findutils; only now at the beginning of Ch6 (_after_ chrooting) I realised they were missing. So I fired up another console, compiled findutils as root in the original system

Ch.6 peculiar bash / find problem

2005-06-29 Thread David Ciecierski
Hello again, I'm now stuck with a strange 'cannot-see-it' problem. Initially I did not compile findutils; only now at the beginning of Ch6 (_after_ chrooting) I realised they were missing. So I fired up another console, compiled findutils as root in the original system (--prefix=/tools), but... lo

Ch.6 peculiar bash / find problem

2005-06-29 Thread David Ciecierski
Hello again, I'm now stuck with a strange 'cannot-see-it' problem. Initially I did not compile findutils; only now at the beginning of Ch6 (_after_ chrooting) I realised they were missing. So I fired up another console, compiled findutils as root in the original system (--prefix=/tools), but..