We have an OSX Yosemite user who has the following message when loading our Nemo package:
*using Nemo* *ERROR: InitError: cglobal: could not find symbol avma in library /Users/keithharrison/.julia/v0.4/Nemo/local/lib/libpari* * in __init__ at /Users/keithharrison/.julia/v0.4/Nemo/src/Nemo.jl:86* * in _require_from_serialized at loading.jl:84* * in _require_from_serialized at /Applications/Julia-0.4.0-rc3.app/Contents/Resources/julia/lib/julia/sys.dylib* * in require at /Applications/Julia-0.4.0-rc3.app/Contents/Resources/julia/lib/julia/sys.dylib* *during initialization of module Nemo* This isn't happening for other OSX users (or on any other platform). The code in question is in Nemo.jl (see https://github.com/wbhart/Nemo.jl/blob/master/src/Nemo.jl) const libdir = Pkg.dir("Nemo", "local", "lib") const libpari = Pkg.dir("Nemo", "local", "lib", "libpari") function __init__() push!(Libdl.DL_LOAD_PATH, libdir) ccall((:pari_init, libpari), Void, (Int, Int), 300000000, 10000) global avma = cglobal((:avma, libpari), Ptr{Int}) end Unfortunately I know nothing about OSX, so I'm not even sure how to diagnose this. Has anyone else had issues with cglobal on OSX Yosemite? It doesn't complain about the ccall to pari_init in the same library, so this seems to indicate the library itself is built and found. And avma is used pervasively in libpari, so it's definitely a symbol in that library. Any ideas? Bill.
