bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DYLD_LIBRARY_PATH fails in gs, OS X El Capitan


From: Michael Cuthbert
Subject: DYLD_LIBRARY_PATH fails in gs, OS X El Capitan
Date: Mon, 21 Sep 2015 15:11:13 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

Lilypond v 2.18.2-1 is  unable to produce png and other output using 
Ghostscript on OS X El Capitan  
(x86) giving this error:

> Converting to PNG...dyld: Library not loaded: ./bin/../sobin/libgs.8.70.dylib

The problem seems to be (I'm not a Lilypond developer, so 
I don't know the ins and outs) that 
Lilypond depends on setting DYLD_LIBRARY_PATH to point to 
Content/Resources/lib/ 
before executing Ghostscript.

OS X El Capitan restricts applications from setting DYLD_LIBRARY_PATH as a 
security precaution:

https://forums.developer.apple.com/thread/13161

what worked as a fix for me was symlinking lib to sobin 
in the Resources directory.

I was unable to test on v.2.19.27 because of a hang in 
Building font database.  

Thank you. Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]