When I try to create a shared library which calls jl_init, upon running the 
function I get these errors:

Warning: error initializing module Base:
  ErrorException("cglobal: could not find symbol jl_uv_asynccb")
Warning: error initializing module Profile:
  ErrorException("ccall: could not find function jl_profile_init")
Warning: error initializing module LinAlg:
  ErrorException("ccall: could not find function jl_cstr_to_string")
Warning: error initializing module Random:
  ErrorException("ccall: could not find function jl_prepare_ast")
Warning: error initializing module GMP:
  ErrorException("cglobal: could not find symbol jl_gc_counted_malloc")

I tried using dlopen with the RTLD_GLOBAL option but it made no difference.

Does anyone know how to fix this?

Reply via email to