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
../elfhash/elfhash -f __dynamic_cast -t __dynloki_cast $lib > /dev/null
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.