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

macOS bug #50

Closed
andreped opened this issue Nov 3, 2022 · 2 comments
Closed

macOS bug #50

andreped opened this issue Nov 3, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@andreped
Copy link
Member

andreped commented Nov 3, 2022

Just tried installing FP and testing it on a new macOS with Intel CPU, and for whatever reason it failed.

The machine did not have homebrew or anything like that. Hence, I set that up, but after following this instruction for installation. I got the following below:

dyld[68800]: Library not loaded: '/usr/local/opt/jpeg/lib/libjpeg.9.dylib'
Referenced from: '/Users/sigridberg/Downloads/fastpathology_macos10.13_1.0.1/lib/libFAST.4.4.0.dylib'
Reason: tried: '/usr/local/opt/jpeg/lib/libjpeg.9.dylib' (no such file), '/usr/local/lib/libjpeg.9.dylib' (no such file), '/usr/lib/libjpeg.9.dylib' (no such file)

If I tried to install libjpeg myself through brew install libjpeg FP launches, but when trying to load a simple WSI it fails and complains about mismatch in libjpeg version and what FP/FAST expects.

Have anyone observed the same?

@andreped andreped added the bug Something isn't working label Nov 3, 2022
@smistad
Copy link
Member

smistad commented Nov 4, 2022

Homebrew sometimes updates packages. Then you will get a mismatch between the library it was compiled with and the library downloaded by the user. Homebrew allows installing a specific version, but they don't seem to always keep previous versions lying around. The best fix for this is to bundle all libraries needed with the installer,

@andreped
Copy link
Member Author

andreped commented Nov 4, 2022

Aaah, that makes sense. Yeah, then the best solution would be to bundle all deps with the installer.

I have already made a separate issue on that: #51

I can make an attempt on the installer later today or during the weekend.

@andreped andreped closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants