FS#41574 - [dwarffortress] libgraphics.so does not export symbol required by dfhack.

Attached to Project: Community Packages
Opened by Bjørnar Hansen (anachron) - Saturday, 16 August 2014, 12:23 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 21 August 2014, 00:41 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Dwarf Fortress works fine on its own. However, when I try to use dfhack, DF crashes immediately. In the error log for dfhack this message appears:

./libs/Dwarf_Fortress: symbol lookup error: ./hack/libdfhack.so: undefined symbol: _ZN8rendererD1Ev

Checking for this symbol in libgraphics shows that it does not exist:

% strings /opt/dwarffortress/libs/libgraphics.so | grep '_ZN8rendererD1Ev'
%

It exists in the libgraphics.so present in the official package:

% strings df_linux/libs/libgraphics.so | grep '_ZN8rendererD1Ev'
_ZN8rendererD1Ev
%

Also, I tried building dwarf_fortress_unfuck myself, and now it does exports the symbol:

% strings dwarf_fortress_unfuck/build/libgraphics.so | grep '_ZN8rendererD1Ev'
_ZN8rendererD1Ev
%

Replacing libgraphics.so from the package with the one I built lets dfhack work as it should.


Additional info:
* package version: dwarffortress 0.40.08-2
* arch: x86_64
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 21 August 2014, 00:41 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 16 August 2014, 14:27 GMT
Try rel -3.
Comment by Bjørnar Hansen (anachron) - Saturday, 16 August 2014, 15:44 GMT
I'm experiencing the same issue with rel -3.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 16 August 2014, 20:46 GMT
Eh, works for me in rel -4.

Loading...