Ch.6 peculiar bash / find problem

David Ciecierski davidcie at
Wed Jun 29 19:33:12 PDT 2005

> How about checking for the libraries it's linked against.
 > Here's what I get on my home setup:
>     $ ldd /usr/bin/find
> =>  (0xffffe000)
> => /lib/ (0xb7eeb000)
>     /lib/ => /lib/ (0xb7fee000)

Running ldd on 'home' system (in /tools/bin):
[root at nightbox bin]# ldd /tools/bin/find => /lib/tls/ (0x00246000)
         /lib/ => /lib/ (0x0022e000)

Both files are present (and ./find executes). Because tls directory was 
not present under /tools/lib:
	mkdir /tools/lib/tls
	ln -s /tools/lib/ /tools/lib/tls/

Still, running the same in the new system:
root:/tools/bin# ldd /tools/bin/find
/tools/bin/ldd: line 124: /tools/bin/find: No such file or directory

find cannot be checked, not to mention executed :(

Take care,
David Ciecierski

More information about the lfs-support mailing list