Le Thu, Nov 07, 2024 at 08:12:22PM +0100, Andreas Tille a écrit :
Control: tags -1 help
Thanks
Hi,
today molds (from Debichem team) came up as candidate for the Bug of
the
Day[1]. I considered bug #1075979 easy to fix by simply adding
libopenmpi-dev to Build-Depends since
$ apt-file search libmpi_cxx.so | grep -- -dev
libopenmpi-dev: /usr/lib/x86_64-linux-gnu/libmpi_cxx.so
libopenmpi-dev: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so
but this is obviously not the case for the 5.x series of
libopenmpi-dev
which does not contain this library any more. Any hints for
replacements or other ways to make the linker happy are welcome since
the problem remains.
Andreas,
debian/rules carries the line
export LIBSBASE=-lstdc++ -lm -lpthread -lgomp -L/usr/lib/lapack/
-llapacke -lmpi -lmpi_cxx
I am pretty sure this is wrong, mpicxx should take care of -lstdc++
-lmpi -lmpi_cxx
I checked and the package build fine without -lstdc++ -lmpi -lmpi_cxx