bug-lilypond
[Top][All Lists]
Advanced

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

Re: PNG output cannot be created with Mac OS X version of Lilipond 2.18.


From: 田村 淳
Subject: Re: PNG output cannot be created with Mac OS X version of Lilipond 2.18.2-1
Date: Mon, 04 Jan 2016 00:04:33 +0900

Dear Stefan,

If you are not familiar with UNIX command line interface at all, you might 
follow Masamichi’s advice to simply upgrade to the latest development version.

> If I understand correctly, development version has been fixed the issue.
> Would you try lilypond-2.19.35?

The procedure to use install_ale_tool is:

1. Start the Terminal application either by double-clicking the Terminal icon 
in the Application folder, or from the Launchpad.

2. Type in the following command and then press <return> key to move into the 
Lilypond executable directory.

Juns-MacBook-Air:~ tamura$ cd /Applications/LilyPond.app/Contents/Resources/bin

(Note that "Juns-MacBook-Air:~ tamura$” is the command prompt on my Mac. It 
would be different on your Mac. You will type in “cd /Applications/…” and so 
on.)

3. Type in the following command and then press <return> key to modify the “gs” 
(ghost script) executable file.

Juns-MacBook-Air:bin tamura$ install_name_tool -change 
./bin/../sobin/libgs.8.70.dylib @executable_path/../lib/libgs.8.70.dylib gs

(Note that the above command line must be on one line. It might be broken into 
two lines when you receive this in your Mail program. If that is the case, 
please re-concatinate them into a single line by using Text Edit or any one of 
your favorite text editors and then paste it into your Terminal window. Also 
note that this procedure will actually modify the “gs” file. Any mistake in 
this command line could further screw up the situation.)

Hope this will help.

Best regards,

Jun

> 2016/01/03 23:14、Stefan Andrés <address@hidden> のメール:
> 
> Dear Jun
> 
> I had the same problem. Thanks for your help.
> Unfortunately, I don’t know how to use the install_name_tool.
> 
> Please, can you describe me, what I have to do exactly, step by step?
> 
> thanks a lot!!
> stefan
> 
> 
> 
>> Am 03.01.2016 um 14:09 schrieb 田村 淳 <address@hidden <mailto:address@hidden>>:
>> 
>> Dear Masamichi,
>> 
>> Really thanks for your reply. I was able to fix the problem using the method 
>> suggested in the post:
>> 
>> https://lists.gnu.org/archive/html/bug-lilypond/2015-11/msg00045.html 
>> <https://lists.gnu.org/archive/html/bug-lilypond/2015-11/msg00045.html> 
>> <https://lists.gnu.org/archive/html/bug-lilypond/2015-11/msg00045.html 
>> <https://lists.gnu.org/archive/html/bug-lilypond/2015-11/msg00045.html>>
>> 
>> 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
>> 
>> Thanks again and best regards.
>> 
>> Jun
>> 
>>> 2016/01/03 21:57、Masamichi HOSODA <address@hidden <mailto:address@hidden>> 
>>> のメール:
>>> 
>>> I not familiar with OSX.
>>> Maybe the gs that is contained in lilypond-2.18.2 for OSX has an issue.
>>> 
>>> https://lists.gnu.org/archive/html/bug-lilypond/2015-11/msg00045.html 
>>> <https://lists.gnu.org/archive/html/bug-lilypond/2015-11/msg00045.html>
>>> 
>>> If I understand correctly, development version has been fixed the issue.
>>> Would you try lilypond-2.19.35?
>>> 
>>>> Hi Andrew,
>>>> 
>>>> I’ve realized that the libgs.8.70.dylib is included in the Lilypond 
>>>> application bundle as:
>>>> 
>>>> /Applications/LilyPond.app/Contents/Resources/lib/libgs.8.70.dylib
>>>> 
>>>> Best regards,
>>>> 
>>>> Jun
>>>> 
>>>>> 2016/01/03 21:19、田村 淳 <address@hidden> のメール:
>>>>> 
>>>>> Hi Andrew,
>>>>> 
>>>>> Thanks for really prompt reply.
>>>>> 
>>>>> I’m running Mac OS X 10.11.2.
>>>>> 
>>>>> I frist noticed this issue while trying to use the OOoLilyPond extension 
>>>>> for OpenOffice/LibreOffice. Then I tried something similar from within 
>>>>> Frescobaldi. Finally I tried it from the Terminal, as I reported, and the 
>>>>> result was essentially the same. The error messages from the 3 methods 
>>>>> above were essentially the same:
>>>>> 
>>>>> Converting to PNG...dyld: Library not loaded: 
>>>>> ./bin/../sobin/libgs.8.70.dylib
>>>>> Referenced from: 
>>>>> /Applications/LilyPond.app/Contents/Resources/bin/../bin/gs
>>>>> Reason: image not found
>>>>> 
>>>>> fatal error: GS exited with status: 5
>>>>> 
>>>>> I thought that /Applications/LilyPond.app/Contents/Resources/bin//gs 
>>>>> might be trying to load libgs from wrong location 
>>>>> (./bin/../sobin/libgs.8.70.dylib).
>>>>> 
>>>>> Best regards,
>>>>> 
>>>>> Jun
>>>>> 
>>>>>> 2016/01/03 18:44、Andrew Bernard <address@hidden> のメール:
>>>>>> 
>>>>>> Hi Jun,
>>>>>> 
>>>>>> What version of Mac OS X are you on? Current version 10.11.2 provides 
>>>>>> libgs.9.16.dylib.
>>>>>> 
>>>>>> Andrew
>> 
>> _______________________________________________
>> bug-lilypond mailing list
>> address@hidden <mailto:address@hidden>
>> https://lists.gnu.org/mailman/listinfo/bug-lilypond 
>> <https://lists.gnu.org/mailman/listinfo/bug-lilypond>
> 
> Stefan Andres
> Muheimern 12
> 3125 Toffen
> 0041 763466210
> address@hidden <mailto:address@hidden>


reply via email to

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