Ask Your Question

Sage 6.10 not working again on MacOS

asked 2016-01-06 07:53:18 -0600

Thomas gravatar image

There was a problem with Sage and MacOS El Capitan which was solved here: 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/, 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

answered 2016-01-07 08:32:32 -0600

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


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 09:36:07 -0600 )edit

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

Thomas gravatar imageThomas ( 2016-01-07 11:14:59 -0600 )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 11:42:09 -0600 )edit

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

Thomas gravatar imageThomas ( 2016-01-07 13:55:53 -0600 )edit

Correct, thats how it works

Volker Braun gravatar imageVolker Braun ( 2016-01-07 16:42:41 -0600 )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


Asked: 2016-01-06 07:53:18 -0600

Seen: 323 times

Last updated: Jan 07 '16