ld looking for libc.so.1
jcm at FreeBSD-uk.eu.org
Tue Oct 18 08:18:29 PDT 2005
On Tue, Oct 18, 2005 at 11:07:29PM +0800, Sepherosa Ziehau wrote:
: On 10/18/05, Jonathon McKitrick <jcm at xxxxxxxxxxxxxxxxx> wrote:
: > On Tue, Oct 18, 2005 at 12:01:20PM +0200, Simon 'corecode' Schubert wrote:
: > : On 18.10.2005, at 01:04, Jonathon McKitrick wrote:
: > : >On DFly, executing
: > : >the binary gives me 'libc.so.1 not found.'
: > :
: > : What does `ldd binary' and `objdump -x shared-object' tell you about
: > : needed shared objects?
: > jcm at drone:~/exp/aclient> ldd tc
: > tc:
: > ELF interpreter /usr/lib/libc.so.1 not found
: > tc: signal 6
: > jcm at drone:~/exp/aclient>
: > The output for objdump is larger. What am I looking for in that output?
: try `readelf -d binary | grep NEEDED'
jcm at drone:~/exp> readelf -d aclient/tc|grep NEEDED
0x00000001 (NEEDED) Shared library: [libalib.so]
jcm at drone:~/exp> readelf -d alib/libalib.so |grep NEEDED
jcm at drone:~/exp>
'What's good for the goose is good for the gander.
What the hell is a gander, anyway?' - George Costanza
More information about the Users