FS#47327 - [dwarffortress] Symbol Lookup Error

Attached to Project: Community Packages
Opened by Nic Evans (nichdel) - Thursday, 10 December 2015, 22:32 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 11 December 2015, 16:57 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description: In the current version, the following error occurs and the program does not run (even after removing the package, deleting ~/.dwarffortress and installing it again):

> dwarffortress
./libs/Dwarf_Fortress: symbol lookup error: /opt/dwarffortress/libs/libgraphics.so: undefined symbol: _Z15errorlog_prefixB5cxx11

Additional info:
* package version(s): 0.42.02-2

Steps to reproduce:

* Install the latest version
* Run command 'dwarffortress'
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 11 December 2015, 16:57 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Thursday, 10 December 2015, 23:41 GMT
Is your entire system up-to-date? All AUR packages rebuilt?
Comment by Owen Harvey (tilt) - Friday, 11 December 2015, 00:41 GMT
I can also confirm that this issue is occurring with an up to date system. I've had some luck getting the release from Bay12 to work, but can't remember the exact steps that I took right now.
One work around for now is to edit the init files to use the bmp tilesets/fonts, and to edit the DF binary in vim or similar and change "mouse.png" to "mouse.bmp". This will let the game run, but utilities such as Therapist break due to changing file hashes.
Comment by Owen Harvey (tilt) - Friday, 11 December 2015, 02:14 GMT
Ok, here is how I have been able to get DF working.
1: Download the latest release from Bay12, 0.42.02 at time of writing.
2: Extract somewhere and copy df_linux/libs/libgraphics.so to /opt/dwarffortress/libs/
3: Edit your init files to only use the bmp tile sets
4: Go to ~/.dwarffortress/data/art and symlink mouse.png to mouse.bmp

This should also allow Therapist to work, as the DF binary hasn't been changed.
Comment by Nic Evans (nichdel) - Friday, 11 December 2015, 03:22 GMT
Yes, my system is fully up-to-date including all AUR packages. I can also confirm that Owen's solution works (assuming that somewhere between 2 and 4 he moved everything in df_linux to ~./dwarffortress). Checking the packages' changelog, I believe version 0.42.02-1 was working and that the post ABI rebuild release is somehow broken.
Comment by Dalton Nell (naelstrof) - Friday, 11 December 2015, 05:59 GMT
Very recent update caused the problem, can confirm as well.

Loading...