On 20 Dec 2011, at 23:08, Alberto Simões wrote:
command line still not good:
address@hidden ~]$ /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: 5
Hans, any change on sending my your 'env'? or 'env | grep DYLD'
It works in the OS X 10.7.2 default environment. (And I have not set the DYLD
environmental variable.)
So check
$ ls -l /usr/lib/libstdc++*.dylib
-rwxr-xr-x 1 root wheel 1595728 Nov 2 21:20 /usr/lib/libstdc++.6.0.9.dylib
lrwxr-xr-x 1 root wheel 21 Nov 2 21:22 /usr/lib/libstdc++.6.dylib ->
libstdc++.6.0.9.dylib
lrwxr-xr-x 1 root wheel 17 Nov 2 21:22 /usr/lib/libstdc++.dylib ->
libstdc++.6.dylib
I have them, but the error above specifies a specific path, where libstdc++ is
not (that the reason I've set DYLD_FAILBACK_LIBRARY_PATH (and it works).
I have not set any DYLD-environment variable.
Try
$ mv ~/.profile ~/.profile.bkp
Open new Terminal tab or window
$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond<file>
where<file> is a LilyPond .ly file.
Don't forget
$ mv ~/.profile.bkp ~/.profile