Bug 30359 - Strange unknown symbols in 64bits LAPACK liblapacke.so library
Summary: Strange unknown symbols in 64bits LAPACK liblapacke.so library
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Luc Menut
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-02 13:27 CEST by Damien Neyret
Modified: 2023-11-11 10:01 CET (History)
2 users (show)

See Also:
Source RPM: lapack-3.9.0-3.1.mga8.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.