Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DFHack 0.47.05-r8 not launching on Linux systems with recent version of libtiff #5107

Open
myk002 opened this issue Dec 19, 2024 · 1 comment

Comments

@myk002
Copy link
Member

myk002 commented Dec 19, 2024

$ ./dfhack
./libs/Dwarf_Fortress: symbol lookup error: /lib64/libtiff.so.6: undefined symbol: jpeg12_read_raw_data, version LIBJPEG_6.2

Fixed by:

$ (cd hack/libs
 mkdir bak
 mv libjpeg.so.62* bak)

In other words, the version of libjpeg we're shipping to support allegro (stonesense) is too old to supply needed symbols to system libtiff.

Discord discussion: https://discord.com/channels/793331351645323264/807444467140788254/1319245673610346516

Not sure what the best course of action here is. Using system libjpeg allows DF to load. Should we just remove our distributed libjpeg? Did we assume that systems would not have a system jpeg, or do we specifically need that version for allegro? (I haven't tested stonesense with system libjpeg yet)

@lethosor
Copy link
Member

My guess is that what we distributed used to be newer than what some systems provided, but I haven't dug through git history to figure it out yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants