Csound Csound-dev Csound-tekno Search About

java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path

Date2016-05-27 13:43
FromRory Walsh
Subjectjava.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Im having an issue running csoundo on OSX. Every time I try to run a sketch that uses Csound I get the above error. On Windows and Linux I usually just addsome -Djava.library.path stuff to the processing.java file that gets launched on startup. But on OSX processing comes as a precompiled binary so that method is out. I've tried setting the CLASSPATH along with the LD_LIBRARY_PATH, but nothing has worked so far. I've very little experience with Java, or OSX for taht matter. Can any of you suggest a possible fix?   For what it's worth, this is the output from Processing:

_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Could not run the sketch (Target VM failed to initialize).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-05-27 15:27
FromNikhil Singh
SubjectRe: java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
For what it's worth, I just got the Keyboard Synth example working! Adding lib_jcsound6.jnilib to the code folder in the sketch directory should make it work.

On Fri, May 27, 2016 at 8:43 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Im having an issue running csoundo on OSX. Every time I try to run a sketch that uses Csound I get the above error. On Windows and Linux I usually just addsome -Djava.library.path stuff to the processing.java file that gets launched on startup. But on OSX processing comes as a precompiled binary so that method is out. I've tried setting the CLASSPATH along with the LD_LIBRARY_PATH, but nothing has worked so far. I've very little experience with Java, or OSX for taht matter. Can any of you suggest a possible fix?   For what it's worth, this is the output from Processing:

_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Could not run the sketch (Target VM failed to initialize).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-05-27 15:35
FromRory Walsh
SubjectRe: java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Brilliant. I'll add a note to the readme on github. Btw, dragging and dropping csoundo.jar and csnd.jar onto any of the examples will create that 'code' folder. It's not ideal as you need to do this for each example. But I'm glad you found a solution.   

On 27 May 2016 at 15:27, Nikhil Singh <nsingh1@berklee.edu> wrote:
For what it's worth, I just got the Keyboard Synth example working! Adding lib_jcsound6.jnilib to the code folder in the sketch directory should make it work.

On Fri, May 27, 2016 at 8:43 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Im having an issue running csoundo on OSX. Every time I try to run a sketch that uses Csound I get the above error. On Windows and Linux I usually just addsome -Djava.library.path stuff to the processing.java file that gets launched on startup. But on OSX processing comes as a precompiled binary so that method is out. I've tried setting the CLASSPATH along with the LD_LIBRARY_PATH, but nothing has worked so far. I've very little experience with Java, or OSX for taht matter. Can any of you suggest a possible fix?   For what it's worth, this is the output from Processing:

_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Could not run the sketch (Target VM failed to initialize).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-05-27 16:45
FromRory Walsh
SubjectRe: java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
In fact, one only needs to drop a copy of lib_jcsound6.jnilib into the csoundo library folder. After taht things should work fine. Thanks again Nikhil. Nice to know this still works. Btw, processing 3 looks quite nice. The IDE has had some major updates. 

On 27 May 2016 at 15:35, Rory Walsh <rorywalsh@ear.ie> wrote:
Brilliant. I'll add a note to the readme on github. Btw, dragging and dropping csoundo.jar and csnd.jar onto any of the examples will create that 'code' folder. It's not ideal as you need to do this for each example. But I'm glad you found a solution.   

On 27 May 2016 at 15:27, Nikhil Singh <nsingh1@berklee.edu> wrote:
For what it's worth, I just got the Keyboard Synth example working! Adding lib_jcsound6.jnilib to the code folder in the sketch directory should make it work.

On Fri, May 27, 2016 at 8:43 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Im having an issue running csoundo on OSX. Every time I try to run a sketch that uses Csound I get the above error. On Windows and Linux I usually just addsome -Djava.library.path stuff to the processing.java file that gets launched on startup. But on OSX processing comes as a precompiled binary so that method is out. I've tried setting the CLASSPATH along with the LD_LIBRARY_PATH, but nothing has worked so far. I've very little experience with Java, or OSX for taht matter. Can any of you suggest a possible fix?   For what it's worth, this is the output from Processing:

_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Could not run the sketch (Target VM failed to initialize).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-05-27 17:02
FromNikhil Singh
SubjectRe: java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Thank you for the tip, that's great to know - I'll drop it there! I agree, the new IDE looks really great.

On May 27, 2016, at 11:45 AM, Rory Walsh <rorywalsh@EAR.IE> wrote:

In fact, one only needs to drop a copy of lib_jcsound6.jnilib into the csoundo library folder. After taht things should work fine. Thanks again Nikhil. Nice to know this still works. Btw, processing 3 looks quite nice. The IDE has had some major updates. 

On 27 May 2016 at 15:35, Rory Walsh <rorywalsh@ear.ie> wrote:
Brilliant. I'll add a note to the readme on github. Btw, dragging and dropping csoundo.jar and csnd.jar onto any of the examples will create that 'code' folder. It's not ideal as you need to do this for each example. But I'm glad you found a solution.   

On 27 May 2016 at 15:27, Nikhil Singh <nsingh1@berklee.edu> wrote:
For what it's worth, I just got the Keyboard Synth example working! Adding lib_jcsound6.jnilib to the code folder in the sketch directory should make it work.

On Fri, May 27, 2016 at 8:43 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Im having an issue running csoundo on OSX. Every time I try to run a sketch that uses Csound I get the above error. On Windows and Linux I usually just addsome -Djava.library.path stuff to the processing.java file that gets launched on startup. But on OSX processing comes as a precompiled binary so that method is out. I've tried setting the CLASSPATH along with the LD_LIBRARY_PATH, but nothing has worked so far. I've very little experience with Java, or OSX for taht matter. Can any of you suggest a possible fix?   For what it's worth, this is the output from Processing:

_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Could not run the sketch (Target VM failed to initialize).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-05-27 17:37
FromHlöðver Sigurðsson
SubjectRe: java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
I just curated a workshop an hour ago and 3 had this _jcsound6 missing from path (which made us laugh when I showed them your email in that same moment). And I also asked about this issue few weeks ago https://github.com/csound/csound/issues/637. Not hard to fix, meaning not hard to set the installer/cmake to install this correctly. (though .dmg installer for mac users did install this right in the first try, those in my workshop that did that, did not experience this problem).

2016-05-27 18:02 GMT+02:00 Nikhil Singh <nsingh1@berklee.edu>:
Thank you for the tip, that's great to know - I'll drop it there! I agree, the new IDE looks really great.

On May 27, 2016, at 11:45 AM, Rory Walsh <rorywalsh@EAR.IE> wrote:

In fact, one only needs to drop a copy of lib_jcsound6.jnilib into the csoundo library folder. After taht things should work fine. Thanks again Nikhil. Nice to know this still works. Btw, processing 3 looks quite nice. The IDE has had some major updates. 

On 27 May 2016 at 15:35, Rory Walsh <rorywalsh@ear.ie> wrote:
Brilliant. I'll add a note to the readme on github. Btw, dragging and dropping csoundo.jar and csnd.jar onto any of the examples will create that 'code' folder. It's not ideal as you need to do this for each example. But I'm glad you found a solution.   

On 27 May 2016 at 15:27, Nikhil Singh <nsingh1@berklee.edu> wrote:
For what it's worth, I just got the Keyboard Synth example working! Adding lib_jcsound6.jnilib to the code folder in the sketch directory should make it work.

On Fri, May 27, 2016 at 8:43 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Im having an issue running csoundo on OSX. Every time I try to run a sketch that uses Csound I get the above error. On Windows and Linux I usually just addsome -Djava.library.path stuff to the processing.java file that gets launched on startup. But on OSX processing comes as a precompiled binary so that method is out. I've tried setting the CLASSPATH along with the LD_LIBRARY_PATH, but nothing has worked so far. I've very little experience with Java, or OSX for taht matter. Can any of you suggest a possible fix?   For what it's worth, this is the output from Processing:

_jcsound6 native code library failed to load.
java.lang.UnsatisfiedLinkError: no _jcsound6 in java.library.path
Could not run the sketch (Target VM failed to initialize).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here