[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg-shlibdeps: error: couldn't find library [...] needed by [...]



Hi everyone,

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.  

Any hints?

Cheers,
Nico

[1] https://lintian.debian.org/tags/binary-or-shlib-defines-rpath.html
[2] https://launchpadlibrarian.net/303577535/buildlog_ubuntu-zesty-ppc64el.trilinos_12.11~20170123171154-786e32e1-1zesty1_BUILDING.txt.gz

Reply to: