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

Update of NetCDF_jll to use stdlib libcurl and MbedTLS in julia 1.6 #2401

Closed
Alexander-Barth opened this issue Jan 17, 2021 · 2 comments
Closed

Comments

@Alexander-Barth
Copy link
Contributor

Currently NetCDF_jll cannot be loaded in julia 1.6 beta1 because it has been build using an older version of libcurl/MbedTLS (compared to the version of these library that are used in julia 1.6) as described in JuliaLang/julia#39015 .

julia> using NetCDF_jll
ERROR: InitError: could not load library "/home/ulg/gher/abarth/.julia/artifacts/877149aedda703fde4a848bffd955df8934ca876/lib/libnetcdf.so"
libmbedtls.so.12: cannot open shared object file: No such file or directory
Stacktrace: [...]

I tried to make this change as described here:
JuliaLang/julia#39015 (comment)

but the build process of NetCDF did not find libcurl. I am not sure what is the correct way to tell to BinaryBuilder to use a library bundeld with julia. Besides the lib*.so files the build process would also need the header files (at least curl.h, I think).

Maybe @visr or @giordano have an idea?
Many thanks!

@visr
Copy link
Contributor

visr commented Jan 17, 2021

Not sure if it would help, but you could try submitting a PR with your changes, to see if the same things happen on the buildbots. Then you can directly add the julia_compat="1.6" kwarg to build_tarballs, since it would make the new build for julia 1.6+ only (like the version of LibCURL_jll it requires).

@visr
Copy link
Contributor

visr commented Feb 9, 2021

Fixed by #2402, #2453, #2454.

@giordano giordano closed this as completed Feb 9, 2021
visr added a commit to JuliaGeo/Proj.jl that referenced this issue Feb 16, 2021
This is done to be able to provide builds that work across julia minor version, even if shipped libraries like libcurl update.

Ref
JuliaPackaging/Yggdrasil#2545
JuliaPackaging/Yggdrasil#2401
visr added a commit to JuliaGeo/Proj.jl that referenced this issue Feb 18, 2021
This is done to be able to provide builds that work across julia minor version, even if shipped libraries like libcurl update.

Ref
JuliaPackaging/Yggdrasil#2545
JuliaPackaging/Yggdrasil#2401
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

3 participants