[uClibc]Help with SDL_image

Jason Bodnar jason at shakabuku.org
Tue Aug 27 20:57:16 UTC 2002


> Which 'ldd' are you using?   Keep in mind that ldd tries to
> locate the libraries _on the current system_ which would be
> used if you were to run that app.  If your target system is
> going to have the libraries in different spots, ldd may be
> lying to you about which libraries are resolved where.

uClibc's ldd
 
> You may want to use 'readelf' to list the libraries instead,
> to be sure that you are not being lied to by ldd....

libSDL_image built for uClibc:

 0x00000001 (NEEDED)                     Shared library: [libSDL-1.2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpng12.so.0]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

libSDL_image installed by Mandrake:

 0x00000001 (NEEDED)                     Shared library: [libSDL-1.2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libjpeg.so.62]
 0x00000001 (NEEDED)                     Shared library: [libpng.so.3]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libtiff.so.3]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

Based on this, I'm guessing it IS linked to the correct libraries? The uClibc
one needs libc.so.0 which is uClibc right?

Thanks,

Jason

--
Jason Bodnar
jason at shakabuku.org
http://www.shakabuku.org




More information about the uClibc mailing list