Issues installing Dwarf-Fortress libSDL_ttf-2.0.so.0 => not found
When I run ./df I get this error:
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory
So I tried to install that lib by running:
sudo apt-get install libsdl-ttf2.0-0:i386
But it is already installed:
libsdl-ttf2.0-0:i386 is already the newest version
I then searched around and ran this:
$ ldd ~/df_linux/libs/Dwarf_Fortress
And got a ton of libraries and I think I found the problem, it is given out by this line:
libSDL_ttf-2.0.so.0 => not found
I can't find any more information, I'm lost. How should I proceed?
Solution 1:
Are you trying to run the most current version of Dwarf Fortress (0.43.05)? I was having the same problem as you. I created a soft link to libSDL_ttf-2.0.so.0 and it didn't work, because it was looking for a 64 bit file.
Try installing the 64 bit version instead:
sudo apt-get install libSDL-ttf2.0-0
You should see the file appear in your x86_64-linux-gnu directory. The game ran for me after I installed it.