[Debian-med-packaging] Please help upgrading eigensoft

Tomasz Buchert tomasz at debian.org
Tue Jul 19 06:31:24 UTC 2016


On 18/07/16 22:21, Andreas Tille wrote:
> Hi,
> 
> I tried to upgrade eigensoft[1].  The build fails with:
> 
> ...
> cc -Wl,-z,relro  pca.o eigensrc/eigsubs.o eigx.o nicksrc/libnick.a  -lgsl -lblas -lgfortran -lrt -lm -o pca
> eigx.o: In function `eigx_':
> /build/eigensoft-6.1.2+dfsg/src/eigx.c:100: undefined reference to `dspev_'

Hi Andreas,
just a few thoughts. The symbols you are looking for are in liblapack:

   $ sudo apt install eigensoft pax-utils
   $ symtree /usr/bin/pca
   ...
   liblapack.so.3 => dgetrf_,dgetri_,dsygv_,dgetrs_,dspev_,dpotrf_
   ...

If you add -llapack to the list of libraries, it will pass this step. It will fail
later, but adding also -lpthread and -llapacke will make it build.

That said, it sounds tricky, because there is zero guarantee that
these dgetrf_ functions have the prototype that is in src/eigx.c (they
don't seem to be public). This looks very error-prone.

Cheers,
Tomasz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160719/c63cf35f/attachment.sig>


More information about the Debian-med-packaging mailing list