Closed grasph closed 6 months ago
I believe you're observing https://github.com/JuliaLang/julia/issues/40556, can't do much about it here.
Thanks for the link. I was expecting the problem was already observed but I hadn't found any report.
One solution is to maintain a directory with links to libraries of all installed _jll.
If supporting installation of _jll sharing libraries with same name is needed, then the directory can contain links to the different artifact directories: we only need the relative paths between the libraries to be fixed, such that rpath can be used (with $ORIGIN). This would also save the need of long LD_LIBRARY_PATH to run _jll executables.
Philippe.
Closed as duplicate of JuliaLang/julia#40556
Hello,
I've observed the following issue with Alpine when testing a binary package I produced.
Philippe.
Issue summary
Fails to install
BinaryBuilder
on Alpine Linux and more generally a package with two or more levels of _jll dependencies.Reproducing the issue
ZMQ is the first package that fails to precompile in the BinaryBuilder dependency chain, so in the example below we just install ZMQ. The Julia docker image for Alpine linux can be used for the test.
If the path to
libsodium.so.23
is added to the linker search paths, then the precompilation succeeds:Not specific to the docker image
Tested with qemu and alpine 3.19 standard x86_64 iso image and same observation.
Further investigations:
The following works on glibc-based distributions (validated on Devuan), but not on Alpine.
It looks for the library file although it was dlopen'ed beforehand.