You are not logged in.

#1 2017-06-02 11:30:21

Sanpi
Member
Registered: 2017-03-14
Posts: 12

Unable to launch sage

Hello,

Since the last update, I can’t launch sage.

The interesting part of crash report seems to be:

ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory

I thought this was a package bug, but the for the maintener, it’s a problem with AUR packages.

I was delete the ~/.sage directory, uninstall sage (that imply also the reverse-dependencies packages) and reinstall it. Without success.

The problematic files:

  • /usr/lib/python2.7/site-packages/sage/matrix/matrix_integer_dense.so

  • /usr/lib/python2.7/site-packages/sage/matrix/matrix_modn_dense_double.so

  • /usr/lib/python2.7/site-packages/sage/matrix/matrix_modn_dense_float.so

Any idea?

Offline

#2 2017-06-02 13:08:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Unable to launch sage

Did you even bother to fix your AUR/foreign packages like you were told?

Online

#3 2017-06-03 17:50:41

Sanpi
Member
Registered: 2017-03-14
Posts: 12

Re: Unable to launch sage

Scimmia wrote:

Did you even bother to fix your AUR/foreign packages like you were told?

I recompile all my AUR packages, without success.

Offline

#4 2017-06-03 18:00:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Unable to launch sage

Why do you think the three files you listed are the problem?  What are those file linked to, e.g.:

ldd /usr/lib/python2.7/site-packages/sage/matrix/matrix_integer_dense.so | grep fortran

If that does not say libgfortran.so.4 then you do not have the sagemath version from [community].

What version of sagemath do you have installed?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2017-06-03 18:09:56

Sanpi
Member
Registered: 2017-03-14
Posts: 12

Re: Unable to launch sage

Trilby wrote:

Why do you think the three files you listed are the problem?  What are those file linked to, e.g.:

ldd /usr/lib/python2.7/site-packages/sage/matrix/matrix_integer_dense.so | grep fortran
$ ldd /usr/lib/python2.7/site-packages/sage/matrix/matrix_integer_dense.so | grep fortran
        libgfortran.so.3 => not found
Trilby wrote:

What version of sagemath do you have installed?

$ yaourt -Q | grep sagemath
community/sagemath 7.6-4

When I uninstall sagemath, the file is deleted.

Offline

#6 2017-06-03 18:52:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Unable to launch sage

Update your system, sagemath is at 7.6-5.

On another note, learn to use pacman.  There is no need to list all packages then pipe to grep, just `pacman -Q sagemath`.  On yet another note, learn to use pacman.  There is no need to use yaourt.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#7 2017-06-03 19:05:42

Sanpi
Member
Registered: 2017-03-14
Posts: 12

Re: Unable to launch sage

Trilby wrote:

Update your system, sagemath is at 7.6-5.

Done between the redaction and submission of my previous post, that’s change nothing.

Trilby wrote:

On yet another note, learn to use pacman.  There is no need to use yaourt.

Pacman doesn’t display the package repository.

Offline

#8 2017-06-03 19:10:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Unable to launch sage

Sanpi wrote:

Done between the redaction and submission of my previous post, that’s change nothing.

What does this mean?  What did you do, and what did not change: the version?  If you didn't get the new version of sagemath, then update your mirrorlist.

Sanpi wrote:

Pacman doesn’t display the package repository.

It most certainly does.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#9 2017-06-03 22:43:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Unable to launch sage

ldd is not the answer here; it's recursive making it useless for this purpose.

The problem is almost certainly a foreign package, most likely atlas-lapack or something similar.

lddtree from the pax-utils package can help track it down by showing what's actually linked to the old lib.

Last edited by Scimmia (2017-06-03 22:53:00)

Online

#10 2017-06-04 00:32:11

jmartl109
Member
Registered: 2011-03-17
Posts: 25

Re: Unable to launch sage

I installed cblas and lapack, and removed atlas-lapack-base (from the AUR), and this fixed the problem for me. (Scimmia -- thanks for the hint about lddtree!)

Last edited by jmartl109 (2017-06-04 00:32:51)

Offline

Board footer

Powered by FluxBB