Page 1 of 1

Fixed Core.so for modern distros

Posted: Sat Oct 08, 2022 6:26 pm
by Jules
I managed to get the Loki port of Rune to work on modern distros (for reference, I'm running Xubuntu 22.04.1 LTS). The manual way to solve the problem is to run the following script on Core.so in the System folder:

Code: Select all

for lib in System/Core.so; do
md5sum $lib
../elfhash/elfhash -f __dynamic_cast -t __dynloki_cast $lib > /dev/null
md5sum $lib
done
This solution solves a symbol conflict with modern versions of libstdc++.so.6 which would otherwise prevent the game from running using the OpenGL renderer (the software renderer works without this patch, but it's preferable to get the OpenGL renderer to work).

I'm including the patched version of Core.so, plus the elfhash binary along with the source code for anyone who'd prefer to apply the patch themselves.

Re: Fixed Core.so for modern distros

Posted: Wed May 24, 2023 7:11 pm
by REA
Duuuuuuude! I was looking for this for 2 years; though the native version works with Nvidia proprietary drivers, it crashes with AMD/Intel using Mesa. Your library seems to be fixing it just fine on Mint 21. THANK YOU!