"Portable" blenderplayer in linux...

HI there…

I want to create game that will be launched through the blenderplayer binary… I will create the shell script which set the LD_LIBRARY_PATH to “./libs” or something else… where will be the necessary libraries to run the game engine… does anybody there know which libraries i have to include?..

pardon me if i am wrong because it is a huge list.

i followed this link
http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/shared-libraries.html

they say that you use the ‘ldd’ command to

see the list of the shared libraries used by a program using ldd(1). So, for example, you can see the shared libraries used by ls by typing: ldd /bin/ls Generally you’ll see a list of the sonames being depended on, along with the directory that those names resolve to. In practically all cases you’ll have at least two dependencies (note this)

and applied it on a blenderplayer like this:

[email protected]:~$ ldd /usr/bin/blenderplayer
linux-gate.so.1 => (0xb80c9000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb8098000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb8072000)
libz.so.1 => /lib/libz.so.1 (0xb805b000)
libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb7e08000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7d91000)
libgettextpo.so.0 => /usr/lib/libgettextpo.so.0 (0xb7d54000)
libopenal.so.1 => /usr/lib/libopenal.so.1 (0xb7a11000)
libalut.so.0 => /usr/lib/libalut.so.0 (0xb7a09000)
libHalf.so.6 => /usr/lib/libHalf.so.6 (0xb79c4000)
libIlmImf.so.6 => /usr/lib/libIlmImf.so.6 (0xb7905000)
libIex.so.6 => /usr/lib/libIex.so.6 (0xb78ee000)
libImath.so.6 => /usr/lib/libImath.so.6 (0xb78e8000)
libavformat.so.52 => /usr/lib/i686/cmov/libavformat.so.52 (0xb77e9000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb76ee000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb76c4000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb769e000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7698000)
libswscale.so.0 => /usr/lib/i686/cmov/libswscale.so.0 (0xb7668000)
libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb765b000)
libdc1394.so.22 => /usr/lib/libdc1394.so.22 (0xb75ed000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7558000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb74f5000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7483000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7394000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb738a000)
libftgl.so.2 => /usr/lib/libftgl.so.2 (0xb735c000)
libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7358000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb71f5000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb71f1000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb71d8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb71c8000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb70d9000)
libavcodec.so.52 => /usr/lib/i686/cmov/libavcodec.so.52 (0xb6903000)
libavutil.so.49 => /usr/lib/i686/cmov/libavutil.so.49 (0xb68f1000)
libIlmThread.so.6 => /usr/lib/libIlmThread.so.6 (0xb68e9000)
/lib/ld-linux.so.2 (0xb80ca000)
libraw1394.so.8 => /usr/lib/libraw1394.so.8 (0xb68e1000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb6819000)
libdirectfb-1.0.so.0 => /usr/lib/libdirectfb-1.0.so.0 (0xb67b3000)
libfusion-1.0.so.0 => /usr/lib/libfusion-1.0.so.0 (0xb67aa000)
libdirect-1.0.so.0 => /usr/lib/libdirect-1.0.so.0 (0xb6795000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb6784000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb677e000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb677b000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6776000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb676c000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6751000)
libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0xb66e1000)
libspeex.so.1 => /usr/lib/sse2/libspeex.so.1 (0xb66c4000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb6673000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb666a000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb6665000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6660000)
liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0xb65f1000)

i use the blender 2.49b and ubuntu linux 9.04
the list is incomplete because many of the sonames may depend on other libraries as well.

good luck !:RocknRoll: