Still struggling with the binary-or-shlib-defines-rpath [1] here. After having added ``` -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF ``` to the CMake config, it all seems to configure and build fine. That is until dpkg-shlibdeps enters the stage (right before installation): ``` dpkg-shlibdeps: error: couldn't find library libtrilinos_trilinosss.so.12 needed by debian/libtrilinos-amesos12/usr/lib/powerpc64le-linux-gnu/libtrilinos_amesos.so.12.11 (ELF format: 'elf64-powerpcle'; RPATH: ':/usr//lib:/usr/lib/powerpc64le-linux-gnu/openmpi/lib') ``` See [2] for full detail.
I'm guessing what goes wrong here is that Debian tries to install libtrilinos_amesos before its dependency libtrilinos_trilinosss.