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...
When using
--rpath, all tests fornetCDF-4.9.0-gompi-2022a.ebfail due to:The binaries do actually have an
RPATHsection, 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...