JuliaLang/julia — Issue #353: shaed library names and search path
Author: ViralBShah
Created: 2012-01-28 06:13:32+00:00
State: open

There are two issues that need to be resolved relating to shared libraries:

1. Search path for dependencies. Libraries in julia_home/lib often depend on other libraries in the same directory, but dlopen does not look in julia_home/lib. This can possibly be fixed by adding julia_home/lib to LD_LIBRARY_PATH during startup.

2. At least on debian, all libraries are installed as libfoo.so.n, and only the dev packages install libfoo.so. Julia's dlopen looks for libfoo.so to load packages. We need to be able to find the right version of the library installed and dlopen libfoo.so.n.