Re: File not found though its there

2005-09-14 Thread Bernhard Reiter
Am Dienstag, den 13.09.2005, 19:00 +0100 schrieb Ken Moffat: > On Tue, 13 Sep 2005, Bernhard Reiter wrote: > > >>> [Requesting program interpreter: /tools/lib/ld-linux.so.2] > >> > >> I think I'm confused by your problem - whereabouts in the book are you > >> ? My initial assumption was chapter

Re: File not found though its there

2005-09-13 Thread Ken Moffat
On Tue, 13 Sep 2005, Bernhard Reiter wrote: [Requesting program interpreter: /tools/lib/ld-linux.so.2] I think I'm confused by your problem - whereabouts in the book are you ? My initial assumption was chapter 6 binutils. I am in chapter 5, first build of binutils. While i think about it

Re: File not found though its there

2005-09-13 Thread Bernhard Reiter
Am Dienstag, den 13.09.2005, 17:49 +0100 schrieb Ken Moffat: > On Tue, 13 Sep 2005, Bernhard Reiter wrote: > > > > >> What does 'readelf -l /tools/bin/ranlib | grep Requesting' > >> report ? > >> > > [Requesting program interpreter: /tools/lib/ld-linux.so.2] > > > > That looks f

Re: File not found though its there

2005-09-13 Thread Ken Moffat
On Tue, 13 Sep 2005, Bernhard Reiter wrote: What does 'readelf -l /tools/bin/ranlib | grep Requesting' report ? [Requesting program interpreter: /tools/lib/ld-linux.so.2] That looks fine for the second binutils from chapter 5. And, for good measure, what is th

Re: File not found though its there

2005-09-13 Thread Bernhard Reiter
> What does 'readelf -l /tools/bin/ranlib | grep Requesting' > report ? > [Requesting program interpreter: /tools/lib/ld-linux.so.2] > And, for good measure, what is the RTLDLIST in /usr/bin/ldd > (it's a > script, so you can read it wi

Re: File not found though its there

2005-09-13 Thread Bhishma
Ken Moffat wrote: On Tue, 13 Sep 2005, Bhishma wrote: (your clock is 2 hours fast) thanks for pointing it out ;) the above command gives me: /usr/bin/ldd: line 162: /tools/bin/ranlib: no such file or directory but i took a look at the /tools/lib dir, and it contains no .so file. just

Re: File not found though its there

2005-09-12 Thread Ken Moffat
On Tue, 13 Sep 2005, Bhishma wrote: (your clock is 2 hours fast) the above command gives me: /usr/bin/ldd: line 162: /tools/bin/ranlib: no such file or directory but i took a look at the /tools/lib dir, and it contains no .so file. just .a and .la. very strange (and exciting) What doe

Re: File not found though its there

2005-09-12 Thread Bhishma
Peter B. Steiger wrote: You didn't accidentally build ranlib with shared libraries, did you? That would certainly do it... bash will give the "no such file or directory" error when you try to launch an existing binary that cannot access the shared libraries it is depending on. Try ldd /tools/bi

Re: File not found though its there

2005-09-12 Thread Peter B. Steiger
On Mon, 2005-09-12 at 20:09 +0200, Bernhard Reiter wrote: > so i took a look and ranlib IS there (and also the other binarys). > But if i type in teh shell the name of any binary in the bin dir it just > says: > > bash: /tools/bin/ranlib: No such file or directory > but it IS there. i can see it i

Re: File not found though its there

2005-09-12 Thread Matthew Burgess
Bernhard Reiter wrote: bash: /tools/bin/ranlib: No such file or directory but it IS there. Does the FAQ help here at all? http://www.linuxfromscratch.org/lfs/faq.html#any-no-such-file Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratc

File not found though its there

2005-09-12 Thread Bernhard Reiter
hi, me again ;) i have restarted my installation attempt, now following exactly the book. But now already binutils is making trouble. it dies when trying to install it. /bin/sh: /tools/bin/ranlib: No such file or directory so i took a look and ranlib IS there (and also the other binarys). But i