Skip to content

netCDF 4.9.0 tests fail when RPATH support is enabled #17983

@bedroge

Description

@bedroge

When using --rpath, all tests for netCDF-4.9.0-gompi-2022a.eb fail due to:

error while loading shared libraries: libnetcdf.so.19: cannot open shared object file: No such file or directory

The binaries do actually have an RPATH section, but they point to the installation dir, while the tests run before the installation step. It also includes $ORIGIN:$ORIGIN/../lib:$ORIGIN/../lib64, but the library is located in ../liblib/ in the build dir...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions