Linux runtime files?

Hello,
I am attempting to integrate SDL in a small liveCD linux distribution; so i will not be able to “install” it from the linux OS; i have the filesystem images; and file structure ready for SDL runtime files; but i don’t know what those files are? Can you tell me the names of the required SDL runtime files and their locations? Thanks in advance!–
G?kalp ?zcan

ozcan at ug.bilkent.edu.tr wrote:

Hello,
I am attempting to integrate SDL in a small liveCD linux distribution; so i will not be able to “install” it from the linux OS; i have the filesystem images; and file structure ready for SDL runtime files; but i don’t know what those files are? Can you tell me the names of the required SDL runtime files and their locations? Thanks in advance!

It depends from the configure options.

SDL has different video and audio drivers on the linux target, they may
or may not been enabled (and so bring you dependencies). Many
distributions enable almost any SDL available driver.

A way to understand it is use ldd on the SDL shared library:

[my local self compiled version]
[gabry at nevada gabry]$ ldd /usr/lib/libSDL-1.2.so.0.7.0
libm.so.6 => /lib/i686/libm.so.6 (0xb7f56000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f52000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e74000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7e66000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb7e16000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

[the one of debian sarge]
gabry at wyoming:~$ ldd /usr/lib/libSDL-1.2.so.0.7.1
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400b1000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40179000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x40187000)
libm.so.6 => /lib/tls/libm.so.6 (0x4023a000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x4025c000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4025f000)
libc.so.6 => /lib/tls/libc.so.6 (0x4026e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Bye,
Gabry

@ozcan_at_ug.bilkent wrote:

Hello,
I am attempting to integrate SDL in a small liveCD linux distribution; so i will not be able to “install” it from the linux OS; i have the filesystem images; and file structure ready for SDL runtime files; but i don’t know what those files are? Can you tell me the names of the required SDL runtime files and their locations? Thanks in advance!

It depends from the configure options.

SDL has different video and audio drivers on the linux target, they may
or may not been enabled (and so bring you dependencies). Many
distributions enable almost any SDL available driver.

A way to understand it is use ldd on the SDL shared library:

[my local self compiled version]
[gabry at nevada gabry]$ ldd /usr/lib/libSDL-1.2.so.0.7.0
libm.so.6 => /lib/i686/libm.so.6 (0xb7f56000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f52000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e74000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7e66000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb7e16000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

[the one of debian sarge]
gabry at wyoming:~$ ldd /usr/lib/libSDL-1.2.so.0.7.1
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400b1000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40179000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x40187000)
libm.so.6 => /lib/tls/libm.so.6 (0x4023a000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x4025c000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4025f000)
libc.so.6 => /lib/tls/libc.so.6 (0x4026e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Bye,
Gabry

Thanks man for for the reply, I figured it out already; but thanks anyway. I use mandrakelinux. I opened the package manager and found libSDL in the list, when i clicked on it and chose details it listed me the file contents of the runtime library .rpm. There was only the .so file, the others were documentation files etc, so I only copied this file and it did the trick!
Best RegardsOn 05 May 2005 13:22 EEST you wrote:

G?kalp ?zcan