Menu

#5 installation problem?

open
nobody
macos x (3)
5
2012-10-18
2008-08-15
Anonymous
No

I got an exception on stderr and Midi.Share() returns 0.

Here's the stack trace

java.lang.UnsatisfiedLinkError: /usr/lib/java/libJMidi.1.1.2.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at grame.midishare.Midi.Share(Midi.java:1218)

What i have is a symlink on my current working directory (where i invoke java from)

libJMidi.jnilib -> /usr/lib/java/libJMidi.jnilib

and that is in turn a symlink to the "real" .jnilib

/usr/lib/java/libJMidi.jnilib -> libJMidi.1.1.2.jnilib

Using MacOS 10.5 and java -version gives

java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)

Am I missing some dependency here? (I am not really into JNI)

Thanks for any support - I'm here should you need further debug info
giorgiga at gmail dot com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Which MidiShare version are you installing?

     
  • Nobody/Anonymous

    Logged In: NO

    Sorry - forgot to mention :)
    It's 1.92

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.