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

Stonesense dylib version clash #1083

Closed
Simons-Mith opened this issue May 2, 2017 · 12 comments
Closed

Stonesense dylib version clash #1083

Simons-Mith opened this issue May 2, 2017 · 12 comments
Assignees
Milestone

Comments

@Simons-Mith
Copy link

loading plugin stonesense
dlopen(/Applications/Games/Dwarf Fortress/hack/plugins/stonesense.plug.dylib, 6): Library not loaded: /usr/local/opt/freetype/lib/libfreetype.6.dylib
Referenced from: /Applications/Games/Dwarf Fortress/hack/libs/liballegro_ttf.5.2.2.dylib
Reason: Incompatible library version: liballegro_ttf.5.2.dylib requires version 20.0.0 or later, but libfreetype.6.dylib provides version 19.0.0
Can't load plugin stonesense

Above is from the stderr log file. Mac OS 10.9.5, dfhack 43.05.beta2

Sorry for terseness, captured error above and wanted to record it asap. Will try to followup with more info tomorrow.

@lethosor
Copy link
Member

lethosor commented May 2, 2017

Try this (unzip it and move the .dylib into hack/libs)
libfreetype.6.dylib.zip

@lethosor lethosor self-assigned this May 2, 2017
@lethosor lethosor added this to the 0.43.05-r1 milestone May 2, 2017
@Simons-Mith
Copy link
Author

That's caused the error to change. So, progress, I think. It still can't load Stonesense, but now the log says

loading plugin stonesense
dlopen(/Applications/Games/Dwarf Fortress/hack/plugins/stonesense.plug.dylib, 6): Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
Referenced from: /Applications/Games/Dwarf Fortress/hack/libs/libfreetype.6.dylib
Reason: image not found
Can't load plugin stonesense

I don't mind downloading and installing libpng but I'm dubious about it being necessary. I'd have thought this machine ought to have sufficient png support already. So I'll leave things alone until you've have more chance to investigate. And I'll try not to do anything unilaterally that might muddy the waters.

@lethosor
Copy link
Member

lethosor commented May 2, 2017

Yeah, that sounds like progress. I'm trying to recompile freetype without PNG support, to see if that works.

@lethosor
Copy link
Member

lethosor commented May 2, 2017

Try this one:
libfreetype.6.dylib.zip

@Simons-Mith
Copy link
Author

That's fixed it. I can stonesense now. Thank you.

@lethosor
Copy link
Member

lethosor commented May 2, 2017

Cool. It seems to work for me (it doesn't break Stonesense any more, at least), so I'll include it in the next release.

@Simons-Mith
Copy link
Author

Simons-Mith commented May 2, 2017

Now that I can run Stonesense, I think these are probably separate issues, but I'll mention them here too:

[deleted false problem]

[Also] DF+Stonesense isn't quitting cleanly.

Will log these separately.

@lethosor
Copy link
Member

lethosor commented May 2, 2017

Yeah, the input issue is reported in the Stonesense repo: DFHack/stonesense#32

Not sure about the issue when quitting - what print mode are you using?

@Simons-Mith
Copy link
Author

I was using Stonesense as a separate window. I don't use it as my main UI. I have NOT activated that 2D view setting (can't remember what it's called precisely).

@lethosor
Copy link
Member

lethosor commented May 2, 2017

Overlay?

@Simons-Mith
Copy link
Author

Yes, that. :-)

@lethosor
Copy link
Member

lethosor commented May 6, 2017

This should be fixed in the next release.

@lethosor lethosor added the 64-bit label May 6, 2017
lethosor added a commit that referenced this issue May 6, 2017
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