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

Error on MacOS Sequoia: Library not loaded: /opt/local/lib/libz.1.dylib #386

Closed
josia-pool opened this issue Oct 18, 2024 · 5 comments
Closed
Assignees

Comments

@josia-pool
Copy link

Hi, I'm having issues running breseq on MacOS, it gives me the following error:
dyld[1574]: Library not loaded: /opt/local/lib/libz.1.dylib
Referenced from: <9257E5F8-E4E9-3F1B-AEAC-F09895F15323> /Users/jopo/bioinformatics/breseq-0.39.0-MacOSX-10.13+-universal/bin/breseq
Reason: tried: '/opt/local/lib/libz.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libz.1.dylib' (no such file), '/opt/local/lib/libz.1.dylib' (no such file)

I can 'fix' this by adding 'export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/lib' to my path, but this gives issues with other programs.
Is there some way to make breseq try /usr/lib, and avoid exporting it to DYLD_LIBRARY_PATH?

@jeffreybarrick
Copy link
Contributor

This is with the downloaded executable?

I'll look into it... the library is supposed to get statically linked so that it will not have to look for libz locally.

In the meantime, I'd recommend installing breseq through Conda.

@jeffreybarrick jeffreybarrick self-assigned this Oct 18, 2024
@josia-pool
Copy link
Author

josia-pool commented Oct 18, 2024

This is with the downloaded executable?

I downloaded the latest release for MacOS, extracted the archive and exported the location to my PATH.
Thanks for looking into it.

@jeffreybarrick
Copy link
Contributor

I think I've fixed this issue. Can you try downloading and using the new version?
https://github.com/barricklab/breseq/releases/tag/v0.39.0

@josia-pool
Copy link
Author

I think I've fixed this issue. Can you try downloading and using the new version? https://github.com/barricklab/breseq/releases/tag/v0.39.0

It works! Thanks for taking the time to fix it.

@jeffreybarrick
Copy link
Contributor

Great! It's something I'd been meaning to look into for a while.

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