Link errors after upgrading from LAPACK 3.7.1 to 3.8.0

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

Link errors after upgrading from LAPACK 3.7.1 to 3.8.0

Postby steve_ustx » Mon Feb 26, 2018 5:21 pm

Description of problem:

Experiencing link errors after 'dnf upgrade'

/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/ undefined reference to `LAPACKE_dsytrf_aa_work'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/ undefined reference to `LAPACKE_ssytrf_aa_work'

Version-Release number of selected component (if applicable):

old (working) version: lapack-3.7.1-5.fc27.x86_64

new (failed) version: lapack-3.8.0-4.fc27.x86_64

How reproducible:

Performed the following steps 3 times with same results

Steps to Reproduce:
1. cat /etc/redhat-release
2. rpm -q lapack
3. echo "int main(void) { return 0; }" > test.c
4. gcc -o test test.c -lm -llapack -lblas -llapacke
5. sudo dnf downgrade blas lapack
6. rpm -q lapack
7. gcc -o test test.c -lm -llapack -lblas -llapacke
8. sudo dnf distro-sync blas lapack
9. rpm -q lapack
10. gcc -o test test.c -lm -llapack -lblas -llapacke

Summary results:

Step 1: Fedora release 27 (Twenty Seven)
Step 2: lapack-3.8.0-4.fc27.x86_64
Step 4: link errors
Step 6: lapack-3.7.1-5.fc27.x86_64
Step 7: no link errors
Step 9: lapack-3.8.0-4.fc27.x86_64
Step 10: link errors
Posts: 1
Joined: Mon Feb 26, 2018 2:39 pm

Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 1 guest