Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 38960  / 1 Year ago, tue, january 24, 2023, 7:48:01

I have downloaded Dwarf Fortress, and I believe I've collected all the required files. However, when I click on the df file, it asks me some things, I click on "Run," and nothing happens. The game just does not open at all.



I am running Ubuntu 12.04 with Gnome 3 on 64-bit. If I could get the game to open I am sure I could deal with the other problems that may occur.



I am fairly new to Ubuntu, and I haven't used Linux since 2009.



Most likely there are some files I don't know about.



Running it in terminal:



$ ./df
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_image-1.2.so.0:
cannot open shared object file: No such file or directory

More From » games

 Answers
6

It seems the game can't find some SDL libraries. Using apt-file the package I get (on 12.10) that provides that libraries is libsdl-image1.2:



➜  apt-file search  libSDL_image-1.2.so.0
libsdl-image1.2: /usr/lib/x86_64-linux-gnu/libSDL_image-1.2.so.0
libsdl-image1.2: /usr/lib/x86_64-linux-gnu/libSDL_image-1.2.so.0.8.4


So you should first verify that package is really installed. If it is then either the program needs the 32bit version or it indeed needs the 64bit version but can't find it.



To install the 32 bit version:



sudo apt-get install libsdl-image1.2:i386


If this still doesn't solve the problem you can try to run the game using LD_DEBUG=libs ./df. This will output a lot of info that could help to detect why it can't find that lib. Also, take a look at the README.linux file in Dwarf Fortress folder and check if all the requirements are satisfied.


[#33808] Wednesday, January 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
utilitere

Total Points: 394
Total Questions: 110
Total Answers: 114

Location: Solomon Islands
Member since Wed, Mar 29, 2023
1 Year ago
;