[Debichem-devel] Bug#810230: molds: FTBFS: /usr//lib//liblapacke.so: undefined reference to `cgejsv_'

Andreas Beckmann anbe at debian.org
Sat Jan 9 20:07:46 UTC 2016


Control: tag -1 sid stretch

On Thu, 07 Jan 2016 17:29:20 +0000 Chris Lamb <lamby at debian.org> wrote:
> > Which version of liblapacke was this built against?
> 
> 3.6.0-1...

No change with 3.6.0-2.

> > Could this be related to #810143?
> 
> ... ah yes, looks like it.

No, it isn't. #810143 is about removed symbols, but here we have newly
added symbols in /usr/lib/lapack/liblapack.so.3 that are used by
liblapacke.so.3

But molds explicitly links (and sets a rpath) against
/usr/lib/openblas-base/liblapack.so.3 which does not have these new symbols:

mpicxx -o molds -Wl,-rpath=/usr//lib/ -Wl,-rpath=/usr/lib/openblas-base
$LISTOFOBJECTFILES
-L/usr//lib/ -L/usr/lib/openblas-base -lstdc++ -lm -lpthread -lgomp
-L/usr/lib/lapack/ -llapacke -lmpi -lmpi_cxx -lboost_serialization
-lboost_mpi -lboost_thread -lboost_system -lopenblas

Introducing new public symbols in /usr/lib/lapack/liblapack.so.3 was
probably not a good idea since liblapack.so.3 is managed by alternatives.


Andreas



More information about the Debichem-devel mailing list