First time here? Check out the FAQ!

Ask Your Question
1

Sage 6.10 not working again on MacOS

asked 9 years ago

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
Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 9 years ago

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.

Preview: (hide)
link

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 ( 9 years ago )

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

Thomas gravatar imageThomas ( 9 years ago )

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 ( 9 years ago )

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

Thomas gravatar imageThomas ( 9 years ago )
1

Correct, thats how it works

Volker Braun gravatar imageVolker Braun ( 9 years ago )

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: 9 years ago

Seen: 779 times

Last updated: Jan 07 '16