The Fugue Counterpoint by Hans Fugal

11Jun/100

Lilypond 2.12 in the OSX Terminal

Getting this error?

$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond
dyld: Library not loaded: @executable_path/../lib//libstdc++.6.dylib
  Referenced from: /Applications/LilyPond.app/Contents/Resources/bin/./lilypond
  Reason: image not found
Trace/BPT trap

I don't know why this is screwed up, but I have a workaround:

ln -s /usr/lib/libstdc++.6.dylib /Applications/LilyPond.app/Contents/Resources/lib

While I'm at it, here's my script in ~/bin:

$ cat ~/bin/lilypond
#! /bin/bash
exec /Applications/LilyPond.app/Contents/Resources/bin/$(basename "$0") "$@"

You can symlink it to midi2ly or whatever other executables you want to execute. Or you could add that directory to your path, of course.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.