-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
turns out this behavior isn't exactly desired lol. So the way archlinux packages julia is to install the libs like:
> yay -Ql julia
...
julia /usr/lib/julia/
julia /usr/lib/julia/libccalltest.so
julia /usr/lib/julia/libccalltest.so.debug
julia /usr/lib/julia/libdSFMT.so
julia /usr/lib/julia/libllvmcalltest.so
julia /usr/lib/julia/libsuitesparse_wrapper.so
julia /usr/lib/julia/sys.so
julia /usr/lib/libjulia.so (symlink)
julia /usr/lib/libjulia.so.1 (symlink)
julia /usr/lib/libjulia.so.1.5 (actual library)
...
But in PackageCompiler.jl in create_sysimg_from_object_file the julia install dir is calculated as julia_libdir = dirname(Libdl.dlpath("libjulia")), which because libjulia.so is inside /usr/lib directly causes julia_libdir to get set to /usr/bin/../lib, aka /usr/lib.
Maybe there's a better check to be done about what libraries to copy? Or if arch is breaking the packaging location rules of julia please link me where these are defined so I can take that back to them and have it changed.
sigmike
Metadata
Metadata
Assignees
Labels
No labels