Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54241 - [python-numpy] tries to import old libgfortran.so

Attached to Project: Arch Linux
Opened by Kresimir Kumericki (kkumer) - Wednesday, 31 May 2017, 14:38 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 31 May 2017, 18:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
python-numpy package cannot be imported because it asks for
libgfortran.so.3, whereas gcc-libs package provides libgfortran.so.4


Additional info:
* package version(s): python-numpy 1.12.1-1, gcc-libs 7.1.1-2

Steps to reproduce:
1. install the above packages
2. start python and try to import numpy:

% python
Python 3.6.1 (default, Mar 27 2017, 00:27:06)
[GCC 6.3.1 20170306] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/numpy/core/__init__.py", line 16, in <module>
from . import multiarray
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
[...]

% pacman -Ql gcc-libs | grep libgfortran
gcc-libs /usr/lib/libgfortran.so
gcc-libs /usr/lib/libgfortran.so.4
gcc-libs /usr/lib/libgfortran.so.4.0.0

(BTW, python2-numpy seems to suffer from similar problem)
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 31 May 2017, 18:44 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Wednesday, 31 May 2017, 14:43 GMT
And have you rebuilt your foreign/aur packages against the new lib?
Comment by Philipp Hanslovsky (hanslovsky) - Wednesday, 31 May 2017, 17:41 GMT
Just to confirm the problem: I observe the same issue.
Comment by Kresimir Kumericki (kkumer) - Wednesday, 31 May 2017, 17:44 GMT
I assumed that my AUR packages are not relevant for the problem, since both gcc-libs and python-numpy are in core/extra.
Maybe I don't understand how updating works. Anyway, now I ran script from

https://bbs.archlinux.org/viewtopic.php?id=162949

and found no suspicious aur packages in need of updating.
Is there a way to determine what should be rebuilt?
Comment by Antonio Rojas (arojas) - Wednesday, 31 May 2017, 17:58 GMT
You are using an unsupported or outdated blas/lapack package
Comment by Kresimir Kumericki (kkumer) - Wednesday, 31 May 2017, 18:20 GMT
Indeed. I used aur atlas-lapack-base, which doesn't exist anymore, which confused me.
I now installed extra/lapack instead and everything works fine.
Thanks for help and sorry for spamming arch-bugs.
Comment by Philipp Hanslovsky (hanslovsky) - Wednesday, 31 May 2017, 18:28 GMT
This work for me as well. Thanks for help and clarification!

Loading...