Java Interface - Linux

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Java Interface - Linux

Steven Yi
Hi Michael and All,

I tried to run "java -jar csnd.jar" and I get:

[steven@localhost lib]$ java -jar ~/workspace/csound5/csnd.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: no _csnd in
java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at csnd.CsoundEditor.<clinit>(CsoundEditor.java:64)

I tried moving things, renaming _csnd.so, setting paths, running
ldconfig, and just about every combination thereof.  I googled and
found this:

http://forum.java.sun.com/thread.jspa?messageID=3932323

which seemed to imply that on linux, the library needs to be named in
libxxxxx.so, but renaming to lib_csnd.so did not seem to get anywhere.

Has anyone gotten csnd.jar to run or load on LInux?

Thanks,
steven


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|

Re: Java Interface - Linux

Michael Gogins
I will try this on Linux Monday evening.

Thanks for the info.


----- Original Message -----
From: "Steven Yi" <[hidden email]>
To: "Csound-dev" <[hidden email]>
Sent: Sunday, October 30, 2005 8:41 PM
Subject: [Cs-dev] Java Interface - Linux


Hi Michael and All,

I tried to run "java -jar csnd.jar" and I get:

[steven@localhost lib]$ java -jar ~/workspace/csound5/csnd.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: no _csnd in
java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at csnd.CsoundEditor.<clinit>(CsoundEditor.java:64)

I tried moving things, renaming _csnd.so, setting paths, running
ldconfig, and just about every combination thereof.  I googled and
found this:

http://forum.java.sun.com/thread.jspa?messageID=3932323

which seemed to imply that on linux, the library needs to be named in
libxxxxx.so, but renaming to lib_csnd.so did not seem to get anywhere.

Has anyone gotten csnd.jar to run or load on LInux?

Thanks,
steven


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel