Bug#947827: Missing symbols in -lblas ?

Julien Puydt julien.puydt at gmail.com
Sat Mar 7 11:13:14 GMT 2020


Hi,

Le samedi 07 mars 2020 à 10:36 +0100, Sébastien Villemot a écrit :
> Dear Julien,
> 
> Sorry for my late reply.

I don't think the problem is still current, since I have recently
worked on scilab and managed to prepare an upload.

> Le mardi 31 décembre 2019 à 11:53 +0100, Julien Puydt a écrit :
> > Package: libatlas3-base
> > Version: 3.10.3-9
> > 
> > I tried to work on the scilab package, but couldn't get very far :
> > for
> > some reason, the configure script was failing to detect the umfpack
> > library. But looking in config.log, I found out the reason was that
> > the
> > BLAS used is atlas, and linking to it gives many undefined
> > references :
> > 
> > 
> > configure:30844: gcc -o conftest -g -O2 -fdebug-prefix-
> > map=/home/jpuydt/Debian/build/scilab-6.0.2=. -fstack-protector-
> > strong
> > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
> > -Wl,-
> > z,relro -Wl,-z,now -Wl,--no-as-needed conftest.c -lumfpack  -lamd
> > -lblas -lpthread -ldl -lcurses  -lm -lm >&5
> > /usr/bin/ld: /lib/x86_64-linux-gnu/liblapack.so.3: undefined
> > reference
> > to `ATL_dgeset'
> 
> […]
> 
> Long ago, we used to have this bug, but it should have been fixed for
> good.
> 
> Could you please send the output of the following commands:
> 
> update-alternatives --display libblas.so-x86_64-linux-gnu
> update-alternatives --display libblas.so.3-x86_64-linux-gnu
> update-alternatives --display liblapack.so-x86_64-linux-gnu
> update-alternatives --display liblapack.so.3-x86_64-linux-gnu


jpuydt at phaeris:~$ update-alternatives --display libblas.so-x86_64-
linux-gnu
libblas.so-x86_64-linux-gnu - mode automatique
  link best version is /usr/lib/x86_64-linux-gnu/blas/libblas.so
 le lien pointe actuellement sur /usr/lib/x86_64-linux-
gnu/blas/libblas.so
  link libblas.so-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/libblas.so
  slave blas.pc-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/pkgconfig/blas.pc
  slave cblas.h-x86_64-linux-gnu is /usr/include/x86_64-linux-
gnu/cblas.h
  slave libblas.a-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/libblas.a
/usr/lib/x86_64-linux-gnu/blas/libblas.so - priorité 10
 lien secondaire blas.pc-x86_64-linux-gnu : /usr/lib/x86_64-linux-
gnu/pkgconfig/blas-netlib.pc
 lien secondaire cblas.h-x86_64-linux-gnu : /usr/include/x86_64-linux-
gnu/cblas-netlib.h
 lien secondaire libblas.a-x86_64-linux-gnu : /usr/lib/x86_64-linux-
gnu/blas/libblas.a
jpuydt at phaeris:~$ update-alternatives --display libblas.so.3-x86_64-
linux-gnu
libblas.so.3-x86_64-linux-gnu - mode automatique
  link best version is /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3
 le lien pointe actuellement sur /usr/lib/x86_64-linux-
gnu/atlas/libblas.so.3
  link libblas.so.3-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/libblas.so.3
/usr/lib/x86_64-linux-gnu/atlas/libblas.so.3 - priorité 35
/usr/lib/x86_64-linux-gnu/blas/libblas.so.3 - priorité 10
jpuydt at phaeris:~$ update-alternatives --display liblapack.so-x86_64-
linux-gnu
liblapack.so-x86_64-linux-gnu - mode automatique
  link best version is /usr/lib/x86_64-linux-gnu/lapack/liblapack.so
 le lien pointe actuellement sur /usr/lib/x86_64-linux-
gnu/lapack/liblapack.so
  link liblapack.so-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/liblapack.so
  slave lapack.pc-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/pkgconfig/lapack.pc
  slave liblapack.a-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/liblapack.a
/usr/lib/x86_64-linux-gnu/lapack/liblapack.so - priorité 10
 lien secondaire lapack.pc-x86_64-linux-gnu : /usr/lib/x86_64-linux-
gnu/pkgconfig/lapack-netlib.pc
 lien secondaire liblapack.a-x86_64-linux-gnu : /usr/lib/x86_64-linux-
gnu/lapack/liblapack.a
jpuydt at phaeris:~$ update-alternatives --display liblapack.so.3-x86_64-
linux-gnu
liblapack.so.3-x86_64-linux-gnu - mode automatique
  link best version is /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3
 le lien pointe actuellement sur /usr/lib/x86_64-linux-
gnu/atlas/liblapack.so.3
  link liblapack.so.3-x86_64-linux-gnu is /usr/lib/x86_64-linux-
gnu/liblapack.so.3
/usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3 - priorité 35
/usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 - priorité 10

Cheers,

JP



More information about the debian-science-maintainers mailing list