-
Notifications
You must be signed in to change notification settings - Fork 12
Common Errors
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?
Check which version of java you have, update to at least openjdk-6-jre, and retry the application.
- 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
whereis
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
On Arch there are also a couple of broken symlinks in the LNP DF libs folder:
libopenal.so -> /usr/lib/i386-linux-gnu/libopenal.so.1
libsndfile.so -> /usr/lib/i386-linux-gnu/libsndfile.so.1
They didn't cause any problems for me, but you can symlink these to /usr/lib/* using the same method above if you're still having issues (e.g. no audio, as they look related to sound)
- Install vanilla dwarf fortress, verify that it works.
- Find the file called "libgraphics.so" in the normal dwarf fortress install location.
- Copy that file into "lnp install folder/df_linux/libs" and overwrite the existing file.
- 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
- install libcanberra-gtk3-dev