-
Notifications
You must be signed in to change notification settings - Fork 142
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
Cannot compile [email protected]+1 #751
Comments
Could you post your |
sure,
|
What distribution is that? |
It’s NixOS, a fully declarative and reproducible distro of Linux based on the Nix package manager. In order to be reproducible, all dependencies must be declared (but that’s our job ;). If you're curious and want to get a flavor of it, here's how we package and compile julia. My system mbedtls is at
The
|
Isn't that an MbedTLS_jll issue not HDF5_jl? |
Yeah, I was just looking at this as well. I think it's an issue upstream somewhere since as far as I can tell, the $ nm -D /home/justin/.julia/artifacts/519367e9365948074c1fcc9f4365597f147a5ab7/lib/libmbedx509.so | grep unlock versus what I see in my system's copy (Arch linux): $ nm -D /usr/lib/libmbedx509.so | grep unlock
U mbedtls_mutex_unlock My guess is that something in the dependency chain is accidentally picking up a system library rather than the artifact libraries. That's not an issue in HDF5/HDF5_jll, so this issue should get moved somewhere else in the chain. (I'm unfortunately not super well versed in jll packages yet...) |
You can see with using Libdl
dllist() what libraries are loaded |
This might be due to JuliaLang/julia#38409 (comment) and fixed by JuliaLang/julia#38409 ? |
I don't think it's related in any way |
😄 So |
|
Makes sense now. Ok I'm closing this. This looks like it might be a bug in the build system dependency chain locater itself then and should be moved to https://github.com/JuliaPackaging/BinaryBuilder.jl/issues |
No, it's some other packages loading system libraries instead those served through artifacts |
This is why I asked for |
Storing and then grepping through the output of |
|
I was using |
I'm a bit sceptical |
Yeah, I think you'd need all of the context of |
Hoping that someone can help me understand what changed on the HDF5.jl side between 0.13.6 and 0.14.1--perhaps this issue may originate with BinaryBuilder.jl?
Compiles fine:
Fails to compile:
The error:
Further testing reveals that the issue arises from HDF5_jll at
1.12.0+1
, and not HDF5.jl.I believe this may have to do with the addition of
LibCURL_jll
andOpenSSL_jll
...? It's not immediately clear how/why these libraries are needed? Many thanks for any thoughts!Edit: possibly related: https://discourse.julialang.org/t/mbedtls-1-0-2-failed-to-load-on-julia-1-5-2-solved-by-downgrading-to-mbedtls-0-7-0/47430/7
The text was updated successfully, but these errors were encountered: