I figured out how to link the project statically. I have published some versions here:
http://freeorion.psitronic.de/
Read the installation HOWTO at http://freeorion.psitronic.de/README.txt. Please have a look at the nightly builds!
This latest versions can be installed by using a graphical Setup (Loki-Installer) on almost every modern linux-distribution. If you encouter problems, feel free to report them here.
Beware: you will need a graphics-driver that supports openGL 2.0! Some ATI Cards are know to NOT work.
Debugging: on http://freeorion.psitronic.de/download/nightly/ there are debugging symbol archives for current versions. Extract the *.dbg files into the application directory of your installation, so that for example freeorion and freeorion.dbg reside in the application directory.
Try out!
/Edit 2010-03-19: Release Revision FO 3388/GG 804) available.
/Edit 2009-05-26: Release Revision FO 3099/GG 757) available. Ogre modules statically linked.
/Edit 2009-05-20: Release Revision FO 3066/GG 748) available. Loki setup/uninstall fixed.
/Edit 2009-05-02: Release Revision FO 3009/GG 735) available. Contains OGRE 1.6.2 shared libs and runtime modules.
/Edit 2009-03-16: Release v0.3.12.1 Release Revision FO 2918/GG 711) available. Contains OGRE shared libs and runtime modules.
/Edit 2009-01-26: Release Revision 2771/GG 700) available. Bugfix for kernel versions lower than 2.6.22
/Edit 2009-01-11: Release v0.3.11 (SVN Revision 2732/GG 695) - also available on SourceForge
GCC 4.3 compiled, with shipped python fallback. See viewtopic.php?f=9&t=2315
/Edit 2009-01-07: Release Revision 2727/GG 694) available. GCC 4.3 compiled, with shipped python fallback. See viewtopic.php?f=9&t=2315
/Edit 2009-01-06: Release Revision 2723/GG 693) available. GCC 4.3 compiled, with shipped python fallback. See viewtopic.php?f=9&t=2315
/Edit 2008-07-16: Release Revision 2642/GG 655) available. GCC 4.3 compiled, with shipped python fallback. See viewtopic.php?f=9&t=2315
/Edit 2008-07-14: Release Revision 2641/GG 655) removed because of buggy graphviz linking
/Edit 2008-06-25: Release Revision 2607/GG 651) available, using a Loki-Installer
/Edit 2008-05-15: Release Revision 2570/GG 648) available, using a Loki-Installer
/Edit 2008-05-15: Release Revision 2548/GG 647) available, using a Loki-Installer
/Edit 2008-04-12: Release v0.3.9 (Revision 2481/GG 645) available, using a Loki-Installer
/Edit 2008-04-11: New Revision 2477 (GG 645) available, using a Loki-Installer
/Edit 2008-04-10: New Revision 2473 (GG 645) available, using a Loki-Installer
/Edit 2008-04-08: New Revision 2464 (GG 645) available, using a Loki-Installer
/Edit 2008-02-25: New Revision 2355 available
Some Background-Information:
If FO is compiled dynamically, it is almost impossible to run the built binaries on any other system, because the dependencies will have to be exactly the same on the other system. Linking the code into the binary statically has the advantage to avoid these dependencies. There are still some direct dependencies left, for example the libGL and libX11 - but these are well standardized libraries and will vary on each system, so these stay linked dynamically.
Now there are not much dependencies left for executing:
Code: Select all
# ldd -u freeorion
/usr/lib/libGL.so.1
/usr/lib/libGLU.so.1
/lib/libpthread.so.0
/usr/lib/libX11.so.6
Code: Select all
linux-gate.so.1 => (0xffffe000)
libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7e62000)
libGiGiSDL.so => not found
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7da8000)
libGiGiNet.so => not found
libIL.so.1 => /usr/lib/libIL.so.1 (0xb7c9c000)
libILU.so.1 => /usr/lib/libILU.so.1 (0xb7c83000)
libILUT.so.1 => /usr/lib/libILUT.so.1 (0xb7c7e000)
libGiGi.so => not found
libboost_signals-gcc41-mt-1_34.so.1.34.0 => /usr/lib/libboost_signals-gcc41-mt-1_34.so.1.34.0 (0xb7c6b000)
libboost_filesystem-gcc41-mt-1_34.so.1.34.0 => /usr/lib/libboost_filesystem-gcc41-mt-1_34.so.1.34.0 (0xb7c5f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7bff000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7b7f000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7b15000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7aff000)
libboost_serialization-gcc41-mt-1_34.so.1.34.0 => /usr/lib/libboost_serialization-gcc41-mt-1_34.so.1.34.0 (0xb7a9a000)
libboost_iostreams-gcc41-mt-1_34.so.1.34.0 => /usr/lib/libboost_iostreams-gcc41-mt-1_34.so.1.34.0 (0xb7a90000)
libboost_python-gcc41-mt-1_34.so.1.34.0 => /usr/lib/libboost_python-gcc41-mt-1_34.so.1.34.0 (0xb7a4d000)
libalut.so.0 => /usr/lib/libalut.so.0 (0xb7a45000)
libopenal.so.0 => /usr/lib/libopenal.so.0 (0xb7a08000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7a01000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb79d9000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb79d4000)
libgraph.so.3 => /usr/lib/libgraph.so.3 (0xb79ca000)
libcdt.so.3 => /usr/lib/libcdt.so.3 (0xb79c5000)
libgvc.so.3 => /usr/lib/libgvc.so.3 (0xb7963000)
liblog4cpp.so.4 => /usr/lib/liblog4cpp.so.4 (0xb7935000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb791e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7833000)
libm.so.6 => /lib/libm.so.6 (0xb780c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7801000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb77e9000)
libc.so.6 => /lib/libc.so.6 (0xb76a6000)
libdl.so.2 => /lib/libdl.so.2 (0xb76a2000)
libutil.so.1 => /lib/libutil.so.1 (0xb769e000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb75da000)
libartsc.so.0 => /usr/lib/libartsc.so.0 (0xb75d4000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb75d0000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb75cc000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7539000)
libesd.so.0 => /usr/lib/libesd.so.0 (0xb7530000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb750c000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb74f7000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb74a6000)
libdirectfb-0.9.so.25 => /usr/lib/libdirectfb-0.9.so.25 (0xb7450000)
libfusion-0.9.so.25 => /usr/lib/libfusion-0.9.so.25 (0xb744a000)
libdirect-0.9.so.25 => /usr/lib/libdirect-0.9.so.25 (0xb743b000)
libvga.so.1 => /usr/lib/libvga.so.1 (0xb73db000)
libaa.so.1 => /usr/lib/libaa.so.1 (0xb73c0000)
libcaca.so.0 => /usr/lib/libcaca.so.0 (0xb73b7000)
libcucul.so.0 => /usr/lib/libcucul.so.0 (0xb733a000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7317000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb72f7000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb72a3000)
libmng.so.1 => /usr/lib/libmng.so.1 (0xb7231000)
librt.so.1 => /lib/librt.so.1 (0xb7228000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb713c000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb712e000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7129000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb711f000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb710f000)
libpathplan.so.3 => /usr/lib/libpathplan.so.3 (0xb7107000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb70e7000)
libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb70e0000)
/lib/ld-linux.so.2 (0xb7fa5000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb70d7000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb70bf000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb707c000)
libslang.so.2 => /lib/libslang.so.2 (0xb6fbd000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb6fb6000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb6f83000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb6f80000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6f7b000)