8000 setup.py seems to ignore site.cfg's runtime_library_path variable · Issue #6435 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

setup.py seems to ignore site.cfg's runtime_library_path variable #6435

@nkoep

Description

@nkoep

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0