PDA

View Full Version : Does your Linux Distro contain libSDL-1.2.so.0?



savage
06-01-2005, 10:54 AM
Trying to ensure that JEDI-SDL header contains the right libnames for Linux and MacOS X.

marcov
11-01-2005, 03:16 PM
FreeBSD has libSDL-1.2.so.x it seems. However x is not always 0.

libSDL-1.2.so is symlinked to the correct one.

I think one should never add minor versions to the headers. This should be solved by the user by adding a symlink, which is proper *nix conduct.

Otherwise, if a distro for some reason updates minor version, the binary distro will break.

marcov
13-01-2005, 02:52 PM
[quote="marcov"]FreeBSD has libSDL-1.2.so.x it seems. However x is not always 0.

libSDL-1.2.so is sym]

It's worse.

I just installed SDL-1.2.7, and I got libSDL-1.1.so.x.

Apparently the distro assumes 1.2 is compatible enough to 1.1, or it is a goofup.

{MSX}
13-01-2005, 07:43 PM
i've tried with ldd:


nicola@mother:~$ ldd /usr/games/chromium
libglpng.so.1 => /usr/lib/libglpng.so.1 (0x40028000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x4002c000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x4009c000)
libopenal.so.0 => /usr/lib/libopenal.so.0 (0x40117000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x401a9000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x401ac000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40253000)
libsmpeg-0.4.so.0 => /usr/lib/libsmpeg-0.4.so.0 (0x40262000)
[CUT]

nicola@mother:~$ ldd /usr/games/tuxracer
libdl.so.2 => /lib/tls/libdl.so.2 (0x4018d000)
libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0x40191000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40241000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x402e8000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0x402f7000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x4033e000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x403ad000)
[CUT]

They all link to libSDL-1,2.so.0