-
Notifications
You must be signed in to change notification settings - Fork 30
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: could not load library libz #54
Comments
reported on Mint 18 |
Not sure if this is related, but I am getting a similar error on Mac OS X after running push!(Libdl.DL_LOAD_PATH,"/usr/lib") Though it seems odd to me that this would be necessary... Here's the output before the fix: using GZip
INFO: Precompiling module GZip.
ERROR: LoadError: LoadError: error compiling anonymous: could not load library "libz"
dlopen(libz.dylib, 1): image not found
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:576
[4] include(::String) at ./sysimg.jl:14
[5] anonymous at ./<missing>:2
while loading /Users/davidlittle/.julia/v0.6/GZip/src/zlib_h.jl, in expression starting on line 11
while loading /Users/davidlittle/.julia/v0.6/GZip/src/GZip.jl, in expression starting on line 75 |
just a heads up: |
This seems to also be a problem on macOS 10.13.6 and Julia v0.7: |
Yeah, that's exactly the issue! Anyways, just doing |
Just had another user run into this; they fixed it by installing |
I'll add my +1 to using BinaryProvider as opposed to using system libz. On Gentoo, |
The work around that I found for macOS was to set Note that this will let you precompile, but if you do anything else with that Therefore I also think the BinaryProvider is a better solution |
#54 (comment) worked for me.
|
On fedora installing |
As reported by @juanklopper: JuliaPlots/Plots.jl#386 (comment)
The text was updated successfully, but these errors were encountered: