|
From: | Ben |
Subject: | Re: Compiling to PNG on MacOSX |
Date: | Thu, 1 Feb 2018 08:38:52 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 2/1/2018 8:31 AM, David Kastrup wrote:Klaus Blum <address@hidden> 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 -------------------------- |
[Prev in Thread] | Current Thread | [Next in Thread] |