OS X 10.8.5 installation failure

asked 2013-10-17 07:48:31 -0600

almagest gravatar image

updated 2015-10-22 14:36:15 -0600

FrédéricC gravatar image

I downloaded the OS X binary: sage-5.12-OSX-64bit-10.8-x86_64-Darwin-app.dmg

It installed the software (2.66GB). When I launch the program, it fails to launch the Notebook (although a kind of welcome screen comes up in the browser). The message on the command line is:

dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib Referenced from: /usr/local/bin/bash Reason: no suitable image found. Did find: /usr/local/lib/libreadline.5.2.dylib: stat() failed with errno=13 /usr/local/lib/libreadline.5.2.dylib: stat() failed with errno=13 Trace/BPT trap: 5

I read several previous messages about dyld failures on OS X. Some suggested I needed to install ImageMagick (I have no idea why). I did that, but still get the error message above.

Then I noticed that /usr/local/lib had restrictive permissions so I reset it to Everyone read/write. But I still get almost the same error message on the command line:

dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib Referenced from: /usr/local/bin/bash Reason: image not found Trace/BPT trap: 5

The only things on /usr/local/lib are three directories - two versions of ImageMagick and one of audacity. The only things in the ImageMagick directories are more subdirectories and the file configure.xml The only thing in the audacity directory is libmp3lame.dylib

What is libreadline.5.2.dylib and where can I get it? I believe it is some gnu dynamic library for commandline editing.

j

edit retag flag offensive close merge delete

Comments

What happens if you temporarily make /usr/local/lib unreadable (for everyone)? Sage shouldn't be picking up libreadline from there, it should be finding it in the Sage installation, in particular in Contents/Resources/sage/local/lib/.

John Palmieri gravatar imageJohn Palmieri ( 2013-10-18 06:15:55 -0600 )edit