Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684400 - sci-libs/lapack-reference links against nonexisting libgfortran.so.4
Summary: sci-libs/lapack-reference links against nonexisting libgfortran.so.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-26 08:16 UTC by Hanno Böck
Modified: 2020-11-15 14:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2019-04-26 08:16:13 UTC
When I install lapack-reference it ends up installing a liblapack.so that links to a nonexisting libgfortran.so:

ldd /usr/lib/liblapack.so

	linux-vdso.so.1 (0x00007ffcd1bae000)
	libblas.so.3 => /usr/lib64/libblas.so.3 (0x00007f79866e5000)
	libgfortran.so.5 => /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/libgfortran.so.5 (0x00007f7986472000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f7986335000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/libgcc_s.so.1 (0x00007f798631b000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f798614c000)
	libgfortran.so.4 => not found
	libquadmath.so.0 => /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/libquadmath.so.0 (0x00007f7986108000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f7985ef1000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f798703f000)

Please note it links against both libgfortran.so.4 and libgfortran.so.5, yet the first does not exist.
Comment 1 François Bissey 2019-04-26 08:25:24 UTC
I suspect libgfortran.so.4 comes from libblas which could have been linked to libgfortran.so.4 before you moved to gcc-8. `ldd -r` is good, but here to check what libraries liblapack is really linked against, I recommend to use
readelf -d /usr/lib/liblapack.so
Comment 2 Larry the Git Cow gentoo-dev 2020-11-15 14:52:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ebcf45ffd328bbb7a7bb659f0be3f94a38cc4f

commit 74ebcf45ffd328bbb7a7bb659f0be3f94a38cc4f
Author:     Aisha Tammy <gentoo@aisha.cc>
AuthorDate: 2020-11-15 14:51:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-15 14:51:37 +0000

    sci-libs/lapack: remove lapacke-reference blocker
    
    * included in sci-libs/lapack
    
    Closes: https://bugs.gentoo.org/746962
    Closes: https://bugs.gentoo.org/684400
    Closes: https://bugs.gentoo.org/667828
    Closes: https://bugs.gentoo.org/666627
    Closes: https://bugs.gentoo.org/659016
    Closes: https://bugs.gentoo.org/689084
    Closes: https://bugs.gentoo.org/612038
    Closes: https://bugs.gentoo.org/620328
    Closes: https://bugs.gentoo.org/608270
    Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 1 -
 sci-libs/lapack/lapack-3.8.0.ebuild    | 1 -
 sci-libs/lapack/lapack-3.9.0.ebuild    | 1 -
 3 files changed, 3 deletions(-)