Bug 30359

Summary: Strange unknown symbols in 64bits LAPACK liblapacke.so library
Product: Mageia Reporter: Damien Neyret <damien.neyret>
Component: RPM PackagesAssignee: Luc Menut <lmenut>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: fri, xantares09
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: lapack-3.9.0-3.1.mga8.src.rpm CVE:
Status comment:

Description Damien Neyret 2022-05-02 13:27:00 CEST
Description of problem:

Hi,

I tried to compile a soft using lapack 64bits library, but it failed with several unknown symbols:
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_sggsvd »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_dggsvd »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_zggsvd »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_zgeqpf »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_cggsvp »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_dgeqpf »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_cgeqpf »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_cggsvd »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_sggsvp »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_dggsvp »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_sgeqpf »
/bin/ld : /usr/lib64/liblapacke.so.3 : référence indéfinie vers « LAPACK_zggsvp »

I checked the content of that library with nm, and indeed there are symbols like LAPACK_sggsvd which are marked 'U', and I have not found any library defining them. Moreover in the /usr/include/lapacke/lapacke.h file from lib64lapack-devel rpm (version 3.9.0), that symbol is not declared, but "LAPACK_sggsvd3" is defined by a #define. So I have no idea where this symbol comes from, and if it is needed at all.

Version-Release number of selected component (if applicable):
Mageia release 8 (Official) for x86_64
lib64lapack3-3.9.0-3.1.mga8, lib64lapack-devel-3.9.0-3.1.mga8, lapack-3.9.0-3.1.mga8.src.rpm

How reproducible:
Constant problem

Steps to Reproduce:
nm -ACD /usr/lib64/*.so | grep LAPACK_

Thanks for your help, best regards

Damien
Morgan Leijström 2022-05-02 13:53:06 CEST

CC: (none) => fri
Assignee: bugsquad => lmenut

Comment 1 michel zou 2023-11-11 10:01:18 CET
these are deprecated and not included unless lapack is built with BUILD_DEPRECATED cmake option

it should be reported to the soft you're trying to build

CC: (none) => xantares09