Hello colleague,
On Tuesday, June 16, 2015 at 8:32:42 AM UTC+2, Kuba Roth wrote: > > > 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? > first of all this is not a Pkg problem, but a problem of BinDeps to resolve the path to local shared objects (e.g. .so on linux). The deps.jl file is written in the build process (Pkg.build) by calling BinDeps with the build.jl. Consult the BinDeps documentation for options. One thing: You could technically just patch a deps.jl file with your path(s). But then run into problems with Pkg.update etc.
