DragonFly BSD
DragonFly users List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ld looking for libc.so.1


From: Jonathon McKitrick <jcm@xxxxxxxxxxxxxxxxx>
Date: Tue, 18 Oct 2005 16:12:37 +0100

On Tue, Oct 18, 2005 at 11:07:29PM +0800, Sepherosa Ziehau wrote:
: On 10/18/05, Jonathon McKitrick <jcm@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@drone:~/exp/aclient> ldd tc
: > tc:
: > ELF interpreter /usr/lib/libc.so.1 not found
: > tc: signal 6
: > jcm@drone:~/exp/aclient>
: >
: > The output for objdump is larger.  What am I looking for in that output?
: 
: try `readelf -d binary | grep NEEDED'

jcm@drone:~/exp> readelf -d aclient/tc|grep NEEDED
0x00000001 (NEEDED)                     Shared library: [libalib.so]
jcm@drone:~/exp> readelf -d alib/libalib.so |grep NEEDED
jcm@drone:~/exp>


jm
--
'What's good for the goose is good for the gander.
What the hell is a gander, anyway?' - George Costanza



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]