Instead of jl_init, I use the following 

jl_init_with_image((char*)install_directory.c_str(),(char*)"sys.ji");


where install_directory is the directory of libjulia (e.g. 
/usr/local/julia/lib/julia), but whatever corresponds to how you link using 
-Wl,rpath

Reply via email to