Bug#902589: liblapacke: Undefined references in liblapacke.so

André Offringa offringa at gmail.com
Thu Jun 28 09:10:38 BST 2018


Package: liblapacke
Version: 3.8.0-1
Severity: important

Dear Maintainers,

When compiling anything with liblapacke and g++, undefined references are
reported, which are caused by missing symbols in the shared object library.

A minimal test case:

echo "int main() { return 0; }" > tmp.c ; g++ tmp.c -llapacke

Results in:
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `csysv_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `zsysv_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `chesv_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `zhetrs_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `dsytrs_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `zsytrs_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `ssytrf_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `zhesv_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `ssytrs_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `dsytrf_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `chetrf_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `ssysv_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `dsysv_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `csytrf_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `zhetrf_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `chetrs_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `zsytrf_aa_2stage_'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblapacke.so:
undefined reference to `csytrs_aa_2stage_'
collect2: error: ld returned 1 exit status

Similarly, running 'ldd -r /usr/lib/gcc/x86_64-linux-gnu/liblapacke.so' shows
the same undefined symbols in liblapacke.so.

Regards,
André Offringa



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable-updates'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages liblapacke depends on:
ii  libblas3 [libblas.so.3]            3.8.0-1
ii  libc6                              2.27-3
ii  liblapack3 [liblapack.so.3]        3.8.0-1
ii  libopenblas-base [liblapack.so.3]  0.2.20+ds-4
ii  libtmglib3                         3.8.0-1

liblapacke recommends no packages.

liblapacke suggests no packages.

-- no debconf information


More information about the debian-science-maintainers mailing list