Hi Everyone,
Newbie here ... I discovered Dwarf Fortress and started playing it a couple weeks ago, and I'm hooked. I've never seen anything like this game before, it's completely captured my imagination. I can't wait to get deeper in.
The basic Dwarf Fortress game runs fine on my Debian system. But I've been having a lot of trouble getting the Lazy Newb Pack to run.
Actually, the LNP launcher seems to run just fine. But when I try to run DF from the launcher, I've been getting errors that seem to be related to my video driver setup. I've already spent several hours researching this and testing it with various packages installed or removed, but ...
Here's the output I see in my terminal window when I try to run DF from the LNP launcher:
Loading bindings from data/init/interface.txt
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
The program 'Dwarf_Fortress' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 39 error_code 2 request_code 156 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
It appears the program can not find 2 drivers: r600_dri.so and swrast_dri.so. But when I run the "find / -name "r600_dri.so" command, I see the following output:
/usr/lib/i386-linux-gnu/dri/r600_dri.so
/usr/lib/x86_64-linux-gnu/dri/r600_dri.so
Similarly, running "find / -name "swrast_dri.so" produces this output:
/usr/lib/i386-linux-gnu/dri/swrast_dri.so
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
So, I've reached the point where I need help from someone who knows more than I do. It appears both the 64-bit and 32-bit versions of both drivers are available on my system. Also, DF runs fine without the LNP. And yet this error keeps coming up.
My system is Debian (jessie), fully updated and upgraded.
Can anyone help me with this?
Many thanks!
RobertG
EDIT: After a couple hours more fiddling, I managed to solve this problem for myself. The solution was simply to delete the libstdc++.so.6 and libgcc_s.so.1 files from the df_linux/libs directory, thereby allowing the system to use the already-installed versions. After that, all the bits of the LNP are now working:)