On 2 Jan 2010, at 18:59, Tom Dickson wrote:

I get this error when running midi2ly:

$ midi2ly byrd-eme.mid
Traceback (most recent call last):
 File "/Applications/LilyPond.app/Contents/Resources/bin/midi2ly",
line 50, in
<module>
   import midi
ImportError:
dlopen(/Applications/LilyPond.app/Contents/Resources/lib/lilypond
/current/python/midi.so,
2): no suitable image found.  Did find:
        /Applications/LilyPond.app/Contents/Resources/lib/lilypond
/current/python/midi.so: mach-o, but wrong architecture

This is on 10.6.2 with LilyPond 2.12.3

It means that the library has of wrong architecture :-), that is, the right architecture flag has not been included when compiling it with gcc. 10.6 uses 64-bit as default, so one has to include -arch i386. Since you have a .so, the binary might even comes from GNU/Linux, which does not use Mach-o, but hopefully they have just not change it to .dylib.

  Hans




_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to