[SDL] sdl, sdl-mixer not compiling with uclibc

mplayer at randeknight.com mplayer at randeknight.com
Wed Sep 7 03:51:39 PDT 2005

can anyone shed some light as to what is happening here?  sdl-mixer (and 
all the rest like sdl-image etc) is 
failing at the configure stage.
As far as I can tell, libSDL isn't managing to use libdl (not finding 
dlvsym), but when I ldd libSDL.so, it shows up.
I've pasted the relevant part of config.log and the ldd of libSDL.


configure:19636: checking for sdl-config
configure:19654: found /usr/bin/sdl-config
configure:19667: result: /usr/bin/sdl-config
configure:19675: checking for SDL - version >= 1.2.4
configure:19765: gcc -o conftest -Os -g -march=c3 -m3dnow -mmmx 
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/SDL -D_REENTRANT   conftest.c  -lSDL -lpthread >&5
undefined reference to `dlvsym'
collect2: ld returned 1 exit status
configure:19768: $? = 1

#ldd /usr/lib/libSDL.so

        libc.so.0 => /lib/libc.so.0 (0xb7fa7000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7ff8000)
        libc.so.0 => /lib/libc.so.0 (0xb7f4f000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7fa0000)
        libc.so.0 => /lib/libc.so.0 (0xb7ec2000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7f13000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7fae000)
        libm.so.0 => /lib/libm.so.0 (0x00000000)
        libdl.so.0 => /lib/libdl.so.0 (0x00000000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00000000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x00000000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00000000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00000000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
        libc.so.0 => /lib/libc.so.0 (0x00000000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00000000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00000000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00000000)
        not a dynamic executable

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050907/5f7cad75/attachment-0007.htm>

More information about the SDL mailing list