Zu dem Spiel muss man glaube ich nichts mehr sagen
* Link zum Artikel
Moderator: Moderator
THE PROBLEM
Unknown changes in glibc 2.3 (and newer) cause problems for these old games resulting in a segmentation fault when trying to run them, the suspects are threading and C++ ABI incompatibility. Using the static binaries can be problematic as the libraries compiled into them are old and have bugs such as SDL using a low screen refresh rate with XFree 4.3 or newer.
Workarounds such as using LD_ASSUME_KERNEL and/or pre-loading a smpeg library compiled with an old GCC version only sometimes work and the movies may be blank or have to be disabled. In the future for glibc 2.4, LinuxThreads and the LD_ASSUME_KERNEL workaround are going away.
THE SOLUTION
The solution is to use an old version of glibc such as 2.2.5. However all the other libraries linked by the game must also be compiled against an equally old (or older) version of glibc.
The libraries used by the Loki games have been compiled and provided by me for others to run their old games too. Other than glibc 2.2.5 which was the last (security) release from Debian, all the libraries included in the tar are based on the Gentoo ebuilds available at the time. Further details on library versions at bottom.
To use the old glibc libraries set the LD_LIBRARY_PATH environment variable to the directory these libraries are located. Additionally prepend the game binary to run the game with the old ld-linux.so.2 dynamic linker/loader (as the one with glibc 2.3 does not include the GLIBC_2.2, GLIBC_2.2.1 or GLIBC_2.2.3 profiles used with glibc 2.2.5 for some reason).
LD_LIBRARY_PATH=Loki_Compat Loki_Compat/ld-linux.so.2 ./rt2.dynamic
sixsixfive@schlepptop:/home/apps/games/rt2$ LD_LIBRARY_PATH=Loki_Compat ldd Loki_Compat/ld-linux.so.2 ./rt2.dynamic
Loki_Compat/ld-linux.so.2:
statically linked
./rt2.dynamic:
./rt2.dynamic: /lib/ld-linux.so.2: version `GLIBC_2.1.1' not found (required by Loki_Compat/libc.so.6)
./rt2.dynamic: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by Loki_Compat/libc.so.6)
./rt2.dynamic: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by Loki_Compat/libc.so.6)
linux-gate.so.1 => (0xf76f6000)
libsmjpeg-0.2.so.0 => Loki_Compat/libsmjpeg-0.2.so.0 (0xf76d1000)
libSDL-1.1.so.0 => Loki_Compat/libSDL-1.1.so.0 (0xf7677000)
libpthread.so.0 => Loki_Compat/libpthread.so.0 (0xf7663000)
libz.so.1 => Loki_Compat/libz.so.1 (0xf7655000)
libm.so.6 => Loki_Compat/libm.so.6 (0xf7634000)
libc.so.6 => Loki_Compat/libc.so.6 (0xf7516000)
libdl.so.2 => Loki_Compat/libdl.so.2 (0xf7513000)
libX11.so.6 => Loki_Compat/libX11.so.6 (0xf744e000)
libXext.so.6 => Loki_Compat/libXext.so.6 (0xf7440000)
libXrandr.so.2 => Loki_Compat/libXrandr.so.2 (0xf743b000)
libXrender.so.1 => Loki_Compat/libXrender.so.1 (0xf7433000)
/lib/ld-linux.so.2 (0xf76f7000)
sixsixfive@schlepptop:/home/apps/games/rt2$
march hat geschrieben:Warum verwendet ihr nicht den Installer von liflg.org?
~/rt2/maps$ md5sum "#08ori~1.map"
9f7bee2b7a8c5e36987d554942e612b9 #08ori~1.map
~/rt2/maps$ md5sum "#09kni~1.map"
d5269356624408e1489114a89dbb7d97 #09kni~1.map
~/rt2/maps$ md5sum "#1020t~1.map"
e82a001a19f7c5560b22ff92f923774f #1020t~1.map
beko hat geschrieben:Ich vermute die sind schon auf meiner CD kaputt
Zurück zu Spiele-Vorstellungen
Mitglieder in diesem Forum: 0 Mitglieder und 29 Gäste