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:

  1. Install vanilla Dwarf Fortress, check that it starts up.
  2. Open a terminal, create a symlink to the vanilla DF copy of libgraphics.so in the LNP libs directory

Remove the LNP version:

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

Create the symlink using:

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

OR

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

  1. Try to restart DF, if you get an error about libstdc++.so.6 then find where libstdc++.so.6 is on your system:

`$ whereis libstdc++.so.6

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

  1. Create a symlink to the path above in LNP DF's 'libs' folder:

First remove the LNP version: $ rm /path/to/lnp/df_linux/libs/libstdc++.so.6

Then create the symlink using: $ ln -s /usr/lib/libstdc++.so.6 /path/to/lnp/df_linux/libs/libstdc++.so.6

  1. Start DF!

-- Confirmed working on Arch 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