-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Way to enforce specific library search path? #365
Comments
You're probably best off manually editing the path in |
Of course I could edit ´deps.jl´, just thought there was something more elegant for such basic functionality. |
What about the library in |
The libraries in '/usr/lib' are often ancient and may not support specific features such as MPI. BinDeps actually finds the right libs in ´/opt´, e.g. ´libhdf5´, but since there are some aliases defined, it will also find |
You might be able to entirely remove the search paths you know you don't want. Some might be hard-coded and harder to suppress, would have to check. |
I have an environment, where multiple versions of the same library are installed on the system.
One version in
/usr/lib
and multiple others in/opt/...
accessible through environment modules, which will automatically setPATH
andLD_LIBRARY_PATH
.The package, in my case
HDF5.jl
, has defined multiple aliases for the libraryaliases = ["libhdf5", "libhdf5_openmpi", "libhdf5_mpich", "libhdf5_serial", "libhdf5_serial.so.10" ]
.BinDeps will find the lib under multiple aliases, some in
/usr/lib
and some in/opt
, but will always pick the one in/usr/lib
. Is there a way to enforce a specific path through some flag, without changingHDF5.jl
? This is probably the most simple functionality to ask for, no search, no installer, just use the specified path...PS: I've already added the path to Libdl.DL_LOAD_PATH and as already mentioned all environment variables are set.
The text was updated successfully, but these errors were encountered: