Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006506Dwarf FortressGeneralpublic2014-06-14 07:232014-06-15 00:59
Anrock 
Footkerchief 
normalcrashalways
resolvedduplicate 
LinuxGentoo
0.34.11 
 
0006506: Tileset not found: data/art/curses_640_300.png
DF produces Tileset not found: data/art/curses_640_300.png error on launch.
Also, line in console log "libpng error: bad parameters to zlib"
1. Download 0.34.11 sdl from official site
2. Unpack
3. Launch df script from main folder.
No tags attached.
duplicate of 0002688acknowledged Toady One Not found: data/art/curses_640x300.png (32-bit Linux DF) 
related to 0006739resolved lethosor Tileset not found 
Issue History
2014-06-14 07:23AnrockNew Issue
2014-06-14 07:46lethosorNote Added: 0024813
2014-06-14 08:08AnrockNote Added: 0024814
2014-06-14 08:49lethosorNote Added: 0024815
2014-06-14 09:05AnrockNote Added: 0024816
2014-06-14 09:47AnrockNote Added: 0024817
2014-06-14 10:54lethosorNote Added: 0024819
2014-06-15 00:59FootkerchiefNote Added: 0024823
2014-06-15 00:59FootkerchiefRelationship addedduplicate of 0002688
2014-06-15 00:59FootkerchiefStatusnew => resolved
2014-06-15 00:59FootkerchiefResolutionopen => duplicate
2014-06-15 00:59FootkerchiefAssigned To => Footkerchief
2014-07-08 17:14DwarfuRelationship addedrelated to 0006739

Notes
(0024813)
lethosor   
2014-06-14 07:46   
The default tileset is "curses_640x300.png" - can you make sure your init.txt refers to that, not "curses_640_300.png"?
This sounds a lot like 0002688. Try adding "export LD_PRELOAD=/usr/lib/libz.so.1" to the "df" script before the last line.
(0024814)
Anrock   
2014-06-14 08:08   
I mistyped. init refers to curses_640x300.png indeed. I didn't alter any settings, just unpacked & launched df script

After adding LD_PRELOAD "ERROR: ld.so: object '/usr/lib/libz.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored." + same error about tileset.

On my machine there is no /usr/lib/libz.so.1. There is libz.so.
After changing LD_PRELOAD to /usr/lib/libz.so i got:
"ERROR: ld.so: object '/usr/lib/libz.so' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored."

Also libz.so is actualy a script containing:
"OUTPUT_FORMAT ( elf64-x86-64 )
GROUP ( /lib64/libz.so.1 )"

Tried with LD_PRELOAD=/lib64/libz.so.1:
"ERROR: ld.so: object '/lib64/libz.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored."

Isn't that because arch mismatch?
(0024815)
lethosor   
2014-06-14 08:49   
Yeah, DF is 32-bit and requires a 32-bit zlib.
(0024816)
Anrock   
2014-06-14 09:05   
And, i guess, no 64bit version planned?
(0024817)
Anrock   
2014-06-14 09:47   
Nevermind, found x32 zlib in /lib32, works fine.
(0024819)
lethosor   
2014-06-14 10:54   
It sounds like this is the same problem as 0002688, then, correct?
(0024823)
Footkerchief   
2014-06-15 00:59   
Please reopen if not a duplicate.