-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Hello,
I'm trying to build a version of numpy that links against a locally built version of openblas. I added the library_dirs and include_dirs variable to the openblas section in my site.cfg. Running ldd confirms that lapack_lite.so links against libopenblas.so. However, for some reason the runtime_library_dirs entry (and rpath for that matter) in my site.cfg file seems to be ignored. This means that I get an ImportError when importing numpy unless I define LD_LIBRARY_PATH before running the interpreter. I fixed the issue by manually setting the rpath via extra_link_args = -Wl,-rpath,/path/to/openblas/lib.
Am I misinterpreting the meaning of the runtime_library_dirs variable or is this a bug?