Dwarf Fortress Bug Tracker - Dwarf Fortress | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0010771 | Dwarf Fortress | Technical -- General | public | 2018-05-26 13:01 | 2018-05-27 11:55 | |||||
Reporter | kritzefitz | |||||||||
Assigned To | lethosor | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | resolved | Resolution | duplicate | |||||||
Platform | Linux i386 | OS | Debian | OS Version | buster (testing) | |||||
Product Version | 0.44.10 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0010771: libgraphics.so has no dependency on libz.so.1 in the 32 bit build | |||||||||
Description | When trying to start the 32 bit version of Dwarf Fortress I get an error window saying “Not found: data/art/curses_640x300.png” on the screen and the message “libpng error: bad parameters to zlib” is printed on stderr. When I dismiss the error Dwarf Fortress does not start. The 64 bit version doesn't seem to have this problem. The cause of this problem seems to be that the 32 bit version of libgraphics.so is missing the dependency on libz.so.1. This can be confirmed by comparing the readelf output of as follows: $ readelf --dynamic amd64/libs/libgraphics.so | grep libz 0x0000000000000001 (NEEDED) Shared library: [libz.so.1] $ readelf --dynamic i386/libs/libgraphics.so | grep libz <no output> This can be worked around by setting LD_PRELOAD=/lib/i386-linux-gnu/libz.so.1 before starting Dwarf Fortress. | |||||||||
Steps To Reproduce | Try to start Dwarf Fortress on a 32 bit Linux system without setting LD_PRELOAD. | |||||||||
Additional Information | This issue seems to be related to 0002688. Maybe the fix described there wasn't applied to the i386 version? This bug was originally reported in the Debian bug tracker. The original report can be found here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898175 [^] | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2018-05-26 13:01 | kritzefitz | New Issue | ||||||||
2018-05-26 18:18 | risusinf | Note Added: 0038383 | ||||||||
2018-05-26 20:58 | risusinf | Note Edited: 0038383 | bug_revision_view_page.php?bugnote_id=0038383#r15613 | |||||||
2018-05-27 11:55 | lethosor | Note Added: 0038385 | ||||||||
2018-05-27 11:55 | lethosor | Relationship added | duplicate of 0002688 | |||||||
2018-05-27 11:55 | lethosor | Status | new => resolved | |||||||
2018-05-27 11:55 | lethosor | Resolution | open => duplicate | |||||||
2018-05-27 11:55 | lethosor | Assigned To | => lethosor |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|