uClibc, libstdc++, and readdir()

Jeff Warren tiny.laser at comcast.net
Tue May 30 18:45:48 UTC 2006


On Sat, 2006-05-27 at 09:41, Peter S. Mazinger wrote:
> On 26 May 2006, Jeff Warren wrote:
> 
> > On Thu, 2006-05-25 at 20:07, Mike Frysinger wrote:
> > 
> > > the uClibc ldd app isnt perfect ... sometimes it's better if you just use 
> > > `readelf -d` and look at the DT_NEEDED entries
> > > -mike
> > 
> >  arm-linux-readelf -d flyermarker (one of my C++ programs...)
> >  
> > Dynamic segment at offset 0x31fb4 contains 22 entries:
> >   Tag        Type                         Name/Value
> >  0x00000001 (NEEDED)                     Shared library:
> > [libstdc++.so.5]
> >  0x00000001 (NEEDED)                     Shared library: [libfloat.so.1]
> >  0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
> 
> it seems you have linked against libc.a instead of libc.so
Yes, Thank you.  I didn't explicitly say -static, but it seems to have
found the .a files instead of the libc.so link.  I removed the .a files
from my lib dir for my target and now it links against the dynamic
library.  I now get what I would expect.

Regards,

Jeff Warren




More information about the uClibc mailing list