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

Could not load symbol "gzopen64" #86

Open
ZongyuLi-umich opened this issue Dec 5, 2021 · 6 comments
Open

Could not load symbol "gzopen64" #86

ZongyuLi-umich opened this issue Dec 5, 2021 · 6 comments

Comments

@ZongyuLi-umich
Copy link

I got the following error message from tst_mnist.jl when I ran ] test MLDatasets:

Got exception outside of a @test could not load symbol "gzopen64": dlsym(0xfff153c1b3a0, gzopen64): symbol not found

Test Summary: | Pass Error Total tst_mnist.jl | 18 90 108 Constants | 7 7 convert2images | 11 11 File Header | 4 4 Images | 72 72 Test that traintensor are the train images | 30 30 Test that testtensor are the test images | 30 30 traintensor with T=Float32 | 1 1 traintensor with T=Float64 | 1 1 traintensor with T=N0f8 | 1 1 traintensor with T=Int64 | 1 1 traintensor with T=UInt8 | 1 1 testtensor with T=Float32 | 1 1 testtensor with T=Float64 | 1 1 testtensor with T=N0f8 | 1 1 testtensor with T=Int64 | 1 1 testtensor with T=UInt8 | 1 1 Labels | 12 12 trainlabels | 1 1 testlabels | 1 1 Data | 2 2 check traindata against traintensor and trainlabels | 1 1 check testdata against testtensor and testlabels | 1 1 ERROR: LoadError: Some tests did not pass: 18 passed, 0 failed, 90 errored, 0 broken.

I tried reinstalling the package but it didn't work.
My OS is MacOS Monterey 12.0.1, and I am using Julia v1.6.3
with MLDatasets version v0.5.13.

@CarloLucibello
Copy link
Member

not sure what is going on here, we test on macos and tests do pass. Maybe you have some problems with the GZip.jl package

@ZongyuLi-umich
Copy link
Author

not sure what is going on here, we test on macos and tests do pass. Maybe you have some problems with the GZip.jl package

Thanks for your answer! I tried reinstall GZip.jl but it still didn't work, maybe there's something dealing with MacOS Monterey, I remembered I didn't have this issue before I update the OS.

@logankilpatrick
Copy link
Member

I am getting the same issue on macOS. I am trying to run the code from here: https://fluxml.ai/tutorials/2021/02/07/convnet.html and get:

ERROR: LoadError: could not load symbol "gzopen64":
dlsym(0xfff147d636b0, gzopen64): symbol not found
Stacktrace:

@logankilpatrick
Copy link
Member

See the issue above, I can reproduce this outside of MLDatasets.

@logankilpatrick
Copy link
Member

@CarloLucibello the reason CI doesn't pick this up is that macOS-latest points to an old macOS version: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#github-hosted-runners

@CarloLucibello
Copy link
Member

CarloLucibello commented Dec 18, 2021

It would be good to switch to https://github.com/JuliaIO/CodecZlib.jl, seems a bit more maintained than GZip.jl
It was attempted in #20 but never completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants