I've run into this problem recently trying to build Cairo from source (on a 
machine with no internet access)

I wasn't sure how to proceed in this case using Pkg module  - so built 
Cairo externally in a custom location.

It took me a while to figure out there is a hardcoded 'load dependencies' 
search location in deps.jl which points to:
 /usr/lib/x86_64-linux-gnu/... It expects libraries to be placed in a 
system default, but quite specific location.


So at this point I'm wondering if there any way I can modify the search 
path on a (per-module) basis? Ideally I'd like to use Pkg functionality - 
if possible
The only option which come to my mind (without editing deps.jl) is to set 
$LD_LIBRARY_PATH before starting julia?
Is there any better way to control that?


Thanks,
kuba

Reply via email to