Skip to content
russ0r edited this page Jul 3, 2016 · 18 revisions

Dwarf Therapist does not start or crashes

Everytime I try to run Dwarf Therapist i get this error Message: DwarfTherapist: 1: DwarfTherapist: Syntax error: ")" unexpected Does anyone know how to fix this?

Solution:

Check which version of java you have, update to at least openjdk-6-jre, and retry the application.

"Could not find PNG file: Ironhand 16x16.png" or "libstdc++.so.6: version `CXXABI_1.3.8' not found"

Solution 1:

  • Install vanilla Dwarf Fortress, check that it starts up.
  • Open a terminal and create a symlink to the vanilla DF copy of libgraphics.so in the LNP libs directory - first remove the LNP version:

$ rm /path/to/lnp/df_linux/libs/libgraphics.so

  • Then create the symlink:

$ ln -s /opt/dwarffortress/libs/libgraphics.so /path/to/lnp/df_linux/libs/libgraphics.so

or if the above doesn't work, try:

$ ln -s ~/.dwarffortress/libs/libgraphics.so /path/to/lnp/df_linux/libs/libgraphics.so

  • Try to restart LNP DF, if you get an error about libstdc++.so.6 then you'll need to create a symlink to that too. Find where libstdc++.so.6 is on your system:

  • $ whereis libstdc++.so.6

libstdc.so: ... /usr/lib/libstdc++.so.6

  • First remove the LNP version:

  • $ rm /path/to/lnp/df_linux/libs/libstdc++.so.6

  • Then create the symlink to the path that which gave you:

  • $ ln -s /usr/lib/libstdc++.so.6 /path/to/lnp/df_linux/libs/libstdc++.so.6

  • Start DF!

-- Working on Arch Linux, 3rd July 2016 - russ0r

Solution 2:

  1. Install vanilla dwarf fortress, verify that it works.
  2. Find the file called "libgraphics.so" in the normal dwarf fortress install location.
  3. Copy that file into "lnp install folder/df_linux/libs" and overwrite the existing file.
  4. Try "sudo ./startlnp" again and click start. If dwarf fortress does not open, or you get some error, delete the file named something like "libstdc++.so" in "lnp install folder/df_linux/libs". -- DwarfMonad

Gtk-Message: Failed to load module "canberra-gtk-module"

Solution:

  1. install libcanberra-gtk3-dev
Clone this wiki locally