Please also note that trying to work-around the issue by specifying `-DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/netcdf/mpi/lib/` to cmake instead to leverage the recursive symlink `/usr/lib/x86_64-linux-gnu/netcdf/mpi/lib/` -> `./` and add an extra element to the path leads to another similar error: ``` CMake Error at /usr/lib/x86_64-linux-gnu/netcdf/mpi/lib/lib/cmake/netCDF/ netCDFConfig.cmake:25 (message): File or directory /usr/lib/x86_64-linux-gnu/netcdf/mpi/lib/x86_64-linux-gnu referenced by variable netCDF_LIB_DIR does not exist ! Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/netcdf/mpi/lib/lib/cmake/netCDF/netCDFConfig.cmake: 34 (set_and_check) CMakeLists.txt:43 (find_package) ```
I believe both issues could be solved by creating the symlink `/usr/lib/x86_64-linux-gnu/netcdf/mpi/lib/${DEB_HOST_MULTIARCH}` -> `../` instead. Best regards, Julien Bigot -- Dr. Julien Bigot -- http://work.julien-bigot.fr CEA Researcher @ Maison de la Simulation USR 3441 - bât. 565 - CEA Saclay 91191 Gif-sur-Yvette CEDEX - FRANCE phone: +33 (0)1 69 08 01 75
signature.asc
Description: This is a digitally signed message part.