-
Notifications
You must be signed in to change notification settings - Fork 143
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
Can't get HDF5.jl work with Julia running in docker (julia:1.8-alpine3.17) - can't find libmpi.so.12 #1123
Comments
I recommend setting the environment variable |
Out of luck: the LD_DEBUG envvar doesn't seem to do anything in this docker image. |
Umm... how are you setting it? |
Note that the same technique works well for debian based images (albeit there is no issue with the HDF5 library there, it doesn't even try to load the libmpi.so library):
This works just fine, and dumps a ton of dynlib loading info in the process. |
Mose Giordano says
|
Reading through that issue, I'm certain that it is the same issue. The “missing” libmpi.so.12 is downloaded as an artifact of the dependent It's a shame this issue hasn't been solved since 2021, it must be a real pain for Julia users on Alpine. Duplicate of JuliaLang/julia#40556. (Relinking so that it becomes a proper mention with back-reference.) |
I'm trying to get
HDF5.jl
working with docker based Julia, but I can't get past this error message:To reproduce, run the following command:
$ docker run --rm julia:1.8-alpine3.17 julia -e 'run(`apk add libsz`); using Pkg; Pkg.add("HDF5"); Pkg.precompile()'
Locally, on a Debian system, everything works smoothly. I checked the insides of the docker container, and
libmpi.so
is there as part of some artifact (probably downloaded withMPICH_jll
, I'm not entirely sure).The text was updated successfully, but these errors were encountered: