I'm trying to open libipps.dylib in OS X. If I push the path to 
DL_LOAD_PATH, Julia can't find it. But if I cd() to that path, it loads it 
fine. The weird thing is that it can find libippcore.dylib just fine with 
without having to cd() to the libraries' location.

Here's what I tried:

julia> push!( DL_LOAD_PATH, "/opt/intel/ipp/lib" )
4-element Array{Union(ASCIIString,UTF8String),1}:
 "@executable_path/../lib/julia"
 "@executable_path/../lib"      
 "/opt/local/lib"               
 "/opt/intel/ipp/lib"           

julia> dlopen( "libipps" )
ERROR: could not load module libipps: dlopen(libipps.dylib, 1): image not 
found
 in dlopen at c.jl:19

julia> cd( "/opt/intel/ipp/lib" )

julia> dlopen( "libipps" )
Ptr{Void} @0x00007fc5aad99330

Am I making a rookie mistake? I tried first loading the two other libraries 
that libipps depends on. I could't only get one of them to load 
(libippcore).

Reply via email to