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

mac m1 "Library not loaded" #88

Closed
Yeba opened this issue Dec 12, 2022 · 5 comments
Closed

mac m1 "Library not loaded" #88

Yeba opened this issue Dec 12, 2022 · 5 comments

Comments

@Yeba
Copy link

Yeba commented Dec 12, 2022

install via bash, run

codon run test.py

get error

dyld[67860]: Library not loaded: '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib'
  Referenced from: '/Users/xxx/.codon/lib/codon/libcodonc.dylib'
  Reason: tried: '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file)
zsh: abort test.py
@arshajii
Copy link
Contributor

Thanks for pointing this out -- the pre-built binary shouldn't be linked to that library. I'll check this for the next release, but in the meantime brew install zstd might resolve the issue.

@arshajii
Copy link
Contributor

Should be fixed in v0.15.2 release!

@Yeba
Copy link
Author

Yeba commented Dec 13, 2022

brew install zstd works!
By the way, the project is marvelous, I'm waiting for v1.0!

@inikolaev
Copy link

I've just tried that on my Intel Mac and still getting this error:

dyld[53257]: Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib
  Referenced from: <35902E26-B869-3DC7-B6B6-33EC07E5D999> /Users/inikolaev/.codon/lib/codon/libcodonc.dylib
  Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)

Has this been fixed yet?

@LowPower-Center
Copy link

I tried this method on my Intel mac, got another error:

zsh: bus error codon

how can i fix it?

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

4 participants