View Issue Details

IDProjectCategoryView StatusLast Update
0006506Dwarf FortressGeneralpublic2014-06-15 00:59
ReporterAnrock Assigned Touser6 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
PlatformLinuxOSGentoo 
Product Version0.34.11 
Summary0006506: Tileset not found: data/art/curses_640_300.png
DescriptionDF produces Tileset not found: data/art/curses_640_300.png error on launch.
Also, line in console log "libpng error: bad parameters to zlib"
Steps To Reproduce1. Download 0.34.11 sdl from official site
2. Unpack
3. Launch df script from main folder.
TagsNo tags attached.

Relationships

duplicate of 0002688 acknowledgedToady One Not found: data/art/curses_640x300.png (32-bit Linux DF) 
related to 0006739 resolvedlethosor Tileset not found 

Activities

lethosor

2014-06-14 07:46

manager   ~0024813

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.

Anrock

2014-06-14 08:08

reporter   ~0024814

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?

lethosor

2014-06-14 08:49

manager   ~0024815

Yeah, DF is 32-bit and requires a 32-bit zlib.

Anrock

2014-06-14 09:05

reporter   ~0024816

And, i guess, no 64bit version planned?

Anrock

2014-06-14 09:47

reporter   ~0024817

Nevermind, found x32 zlib in /lib32, works fine.

lethosor

2014-06-14 10:54

manager   ~0024819

It sounds like this is the same problem as 0002688, then, correct?

user6

2014-06-15 00:59

  ~0024823

Please reopen if not a duplicate.

Issue History

Date Modified Username Field Change
2014-06-14 07:23 Anrock New Issue
2014-06-14 07:46 lethosor Note Added: 0024813
2014-06-14 08:08 Anrock Note Added: 0024814
2014-06-14 08:49 lethosor Note Added: 0024815
2014-06-14 09:05 Anrock Note Added: 0024816
2014-06-14 09:47 Anrock Note Added: 0024817
2014-06-14 10:54 lethosor Note Added: 0024819
2014-06-15 00:59 user6 Note Added: 0024823
2014-06-15 00:59 user6 Relationship added duplicate of 0002688
2014-06-15 00:59 user6 Status new => resolved
2014-06-15 00:59 user6 Resolution open => duplicate
2014-06-15 00:59 user6 Assigned To => user6
2014-07-08 17:14 user11 Relationship added related to 0006739