Ask Your Question

almagest's profile - activity

2015-10-22 21:34:16 +0200 received badge  Notable Question (source)
2014-11-10 21:59:55 +0200 received badge  Popular Question (source)
2013-10-17 14:48:31 +0200 asked a question OS X 10.8.5 installation failure

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

2013-04-23 17:01:54 +0200 asked a question osx 10.7 installation failure

The dmg file seemed to install the 5.8-OSX-64bit-10.6 files. But the menu fails to launch it from terminal or notebook.

If I go to the relevant directory /Applications/Sage-5.8-OSX-64bit-10.6.app/Contents/Resources/sage and run sage (small 8k file) I get:

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

However there is also ... /Contents/MacOS/ with a slightly larger (66k) file Sage If I run that rather more happens, a new browser page (google Chrome) pops up (The Sage server is currently starting ...) and I get in the terminal window:

osascript[10908:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find: /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers. 2013-04-23 20:50:11.267 osascript[10908:707] Error loading /Library/ScriptingAdditions/LCC Scroll Enhancer Loader.osax/Contents/MacOS/LCC Scroll Enhancer Loader: dlopen(/Library/ScriptingAdditions/LCC Scroll Enhancer Loader.osax/Contents/MacOS/LCC Scroll Enhancer Loader, 262): no suitable image found. Did find: /Library/ScriptingAdditions/LCC Scroll Enhancer Loader.osax/Contents/MacOS/LCC Scroll Enhancer Loader: no matching architecture in universal wrapper osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/LCC Scroll Enhancer Loader.osax" declares no loadable handlers. tab 1 of window id 717

None of which means much to me. That terminal window stalls, although I got back the prompt with Ctrl-C.

Any ideas what I should do next?