Ask Your Question
1

Sage 6.10 not working again on MacOS

asked 2016-01-06 14:53:18 +0200

Thomas gravatar image

There was a problem with Sage and MacOS El Capitan which was solved here: http://trac.sagemath.org/ticket/19370 For quite a while I used beta 1 of 6.10 which worked fine. Today I decided to move to 6.10 and it's back to non-working. What's going on?

✗ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath Version 6.10, Release Date: 2015-12-18                    │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
  File "/Users/tom/sage/src/bin/sage-ipython", line 8, in <module>
    from sage.repl.readline_extra_commands import *
ImportError: dlopen(/Users/tom/sage/local/lib/python2.7/site-packages/sage/repl/readline_extra_commands.so, 2): Library not loaded: /Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma/local/lib/libtinfo.5.dylib
  Referenced from: /Users/tom/sage/local/lib/libreadline.6.dylib
  Reason: image not found
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2016-01-07 15:32:32 +0200

Volker Braun gravatar image

How did you manage to get there? You should

  • Open the DMG (or tar.bz2)
  • Drag the SageMath folder / app to where you want it to be (possibly rename it)
  • Start sage

This will then automatically patch paths in binaries. Once it is installed you cannot move the installation any more.

edit flag offensive delete link more

Comments

I did exactly this in the correct order. On the first start it also patched a lot of binaries (lots of stuff scrolling) and then yielded this error. Let me try again.

Thomas gravatar imageThomas ( 2016-01-07 16:36:07 +0200 )edit

OK, reproducably, If I rename the folder from SageMath to just "sage" I get this error.

Thomas gravatar imageThomas ( 2016-01-07 18:14:59 +0200 )edit

Just to be clear, you can only move / rename the SageMath folder before you start it for the first time. Once you started sage, you can neither move nor rename it. The "Updating various hardcoded paths" message is incorrect and does not do it.

Volker Braun gravatar imageVolker Braun ( 2016-01-07 18:42:09 +0200 )edit

OK, thanks. It works now. So the directory is not relocatable after first start?

Thomas gravatar imageThomas ( 2016-01-07 20:55:53 +0200 )edit
1

Correct, thats how it works

Volker Braun gravatar imageVolker Braun ( 2016-01-07 23:42:41 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-06 14:53:18 +0200

Seen: 681 times

Last updated: Jan 07 '16