On 2/1/2018 8:31 AM, David Kastrup wrote:
Klaus Blum <benbigno...@gmx.de> writes:

Dear LilyPond fellows,

who has some experience in creating PNG files on MacOSX?

The problem is that conversion from EPS to PNG fails:
-------------------------------------------------------
  Processing `OOoLilyPond.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Layout output to `OOoLilyPond.eps'...
Converting to PNG...dyld: Library not loaded:
./bin/../sobin/libgs.8.70.dylib
Referenced from: /Applications/LilyPond.app/Contents/Resources/bin/../bin/gs
Reason: no suitable image found. Did find:
/usr/local/lib/libgs.8.70.dylib: stat() failed with errno=13

fatal error: GS exited with status: 5
-------------------------------------------------------
13 is likely EACCESS "Permission denied".

I came across some earlier threads, and I posted a response to your Facebook post as well. Hope this helps.

-----------------
IIRC the problem is the version of gs supplied has a bad link to the libgs.8.70.dylib library.
To change the link, use the install_name_tool command:
$ cd /Applications/LilyPond.app/Contents/Resources/bin
$ install_name_tool -change ./bin/../sobin/libgs.8.70.dylib
@executable_path/../lib/libgs.8.70.dylib gs
This link may help too: https://stackoverflow.com/questions/17703510/dyld-library-not-loaded-reason-image-not-loaded

Also this link:
http://lilypond.1069038.n5.nabble.com/DYLD-LIBRARY-PATH-fails-in-gs-OS-X-El-Capitan-td181481.html#a183547
--------------------------




_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to