lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - no lilypond integration


From: Henry Flurry
Subject: Re: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - no lilypond integration
Date: Sat, 4 Dec 2010 22:29:00 -0700

Further research shows that gs is not finding a dynamic library.  Console reports:

dyld: Library not loaded: ./bin/../sobin/libgs.8.70.dylib

I tried to soft link from lib (which contains the dyld) to sobin, but that still didn't work.  gs also failed from command line.

However, if I did this in bash:

export DYLD_LIBRARY_PATH=/Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/lib:$DYLD_LIBRARY_PATH 
Then the gs would work from the commmand line.

But I can't find a way to tell LyX to set up the DYLD_LIBRAY_PATH for calling gs.

I'm assuming that this is a bug in lilypond distribution, so I submitted a bug to them.

Other ideas?

Thanks!
henry


On Dec 4, 2010, at 9:53 AM, Henry Flurry wrote:

OK - got a bit further!

Changing the path variable didn't do it.  Reviewing old emails again, I see that the PATH variable can be set in the shell OR in the Lyx -> Preferences -> Paths -> PATH Prefix

THEN, you need to do:

Lyx -> Reconfigure

(This was a step I was missing for a while.)

NOW, the lilypond example loads up without complaint.

BUT, I get an Apple app crash panel with the following error:

"gs cannot be opened because of a problem"

with some problem details looking like:

Process: gs [6477] 
Path: /Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/bin/gs 
Identifier: gs Version: ??? (???) 
Code Type: X86 (Native) 
Parent Process: dvipng [6476] 
Date/Time: 2010-12-04 09:35:21.031 -0700 
OS Version: Mac OS X 10.6.5 (10H574) 
Report Version: 6 Anonymous 
UUID: 219AD32B-CD4E-46DE-A36B-439CEBBA839D  
Exception Type: EXC_BREAKPOINT (SIGTRAP) 
Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread:  0 

Which to me suggests the problem is occurring when generating an png file.

This type of crash will come up when I:

View -> DVI
View -> HTML
View -> OpenDocument

However, the following work fine:

View -> PDF

Now it sounds like there is a problem with lilypond's gs itself.

Would you agree?

(I just upgraded lilypond "OS X" to 2.13.41-1, and the same symptoms occur.)

Thoughts?

Thanks!
Henry



reply via email to

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