pyjulia
pyjulia copied to clipboard
Fix julia library jl_init_with_image bug
trafficstars
A possible solution to #437
jl_init_with_image and jl_init_with_image__threading are no longer exposed functions in the Julia 1.6 library, whereas jl_init__threading seems to work.
This also requires setting the DYLD_LIBRARY_PATH so Julia can locate the system image.
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Applications/Julia-1.6.app/Contents/Resources/julia/lib/
AFAICT jl_init_with_image__threading is still exposed, just like jl_init__threading
You're right.
This is just a temporary workaround until jl_init_with_image__threading is fixed.