You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.
Is there currently a way to deal with shared libraries referenced by other packages used in compiled code? I'm trying to create a standalone binary for a tool that should run on our HPC. The code I'm trying to compile relies on the HDF5 package, which uses the Blosc package, which relies on the libblosc.dylib located under the deps folder of that package. Now, when I run my binary on a system that does not have the same julia package tree as on the compile machine, it returns an error saying it is unable to find the library.
fatal: error thrown and no exception handler available.
Base.InitError(mod=:Blosc, error=ErrorException("could not load library "/Volumes/DataX/Users/grogee/.julia/v0.6/Blosc/src/../deps/libblosc"
dlopen(/Volumes/DataX/Users/grogee/.julia/v0.6/Blosc/src/../deps/libblosc.dylib, 1): image not found"))
rec_backtrace at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
jl_throw at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
jl_errorf at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
jl_dlerror at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
jl_load_dynamic_library_ at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
jl_get_library at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
jl_load_and_lookup at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
jlplt_blosc_init_25622 at /opt/data2/Software/HMMSpikeSorting/hmm_decode_julia/libhmmsort.dylib (unknown line)
__init__ at /opt/data2/Software/HMMSpikeSorting/hmm_decode_julia/libhmmsort.dylib (unknown line)
jlcall___init___25620 at /opt/data2/Software/HMMSpikeSorting/hmm_decode_julia/libhmmsort.dylib (unknown line)
jl_module_run_initializer at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
_julia_init at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
julia_init at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/libjulia.dylib (unknown line)
main at /opt/data2/Software/HMMSpikeSorting/hmm_decode_julia/hmmsort (unknown line)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there currently a way to deal with shared libraries referenced by other packages used in compiled code? I'm trying to create a standalone binary for a tool that should run on our HPC. The code I'm trying to compile relies on the HDF5 package, which uses the Blosc package, which relies on the libblosc.dylib located under the deps folder of that package. Now, when I run my binary on a system that does not have the same julia package tree as on the compile machine, it returns an error saying it is unable to find the library.
The text was updated successfully, but these errors were encountered: