Thanks, Steven! Both solutions work for me. Not sure which is the best general solution, but I somewhat favor leaving the blue script alone and copying the .so file at Csound install time. This would avoid the potential issue of breaking something else should one of the other libraries in /usr/lib/jni ever be required. Beside, I already have to execute "sudo ldconfig" after I do a build, so I'll just make a small post-install script that runs ldconfig and also copies the file. I appreciate your help.

- Dave


On Sun, Sep 15, 2013 at 3:43 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Dave,

Yes, you would only need to copy lib_jcsound6.so into /usr/lib/jni.
Blue comes with a version of csnd6.jar already, and the only part it
needs to load on any platform is the native shared library.

You might want to try modifying the blue/bin/blue script and replace
where it has /usr/lib/jni and have it point to /usr/local/lib, or to
the directory where you compiled Csound.

Hopefully copying lib_jcsound6.so or modifying the script will do the
job.  If not, let me know and I'll see if I can reproduce things here.
 If it comes to it, could you tell me what version of Ubuntu you are
using? (I have a Xubuntu 12.04 VM, but could download/install another
version)

Thanks!
steven

On Sun, Sep 15, 2013 at 2:26 PM, Dave Seidel <dave.seidel@gmail.com> wrote:
> So, this is still an issue. But not a showstopper, as I can still render in
> commandline-mode, and I'm not using blue for realtime work (at least not
> these days, but perhaps in the future).
>
> Steve, if there's anything you'd like me to try, just let me know. Looks to
> me like /usr/bin/jni is for .so's only, by the way.
>
> - Dave
>
>
> On Wed, Sep 11, 2013 at 5:56 PM, Dave Seidel <dave.seidel@gmail.com> wrote:
>>
>> Looks like it went to /usr/local/lib, probably from "make install" (the
>> csound binary is in /usr/loca/bin).
>>
>> dave@fibonacci:~/src/cs6make$ ll /usr/local/lib/*csnd*
>> -rw-r--r-- 1 root root  101333 Sep 10 17:14 /usr/local/lib/csnd6.jar
>> -rw-r--r-- 1 root root  177044 Sep 10 17:14 /usr/local/lib/csnd6.py
>> -rw-r--r-- 1 root root 2622611 Sep 10 17:14 /usr/local/lib/_csnd6.so
>> -rw-r--r-- 1 root root   91467 Feb 10  2013 /usr/local/lib/csnd.jar
>> -rw-r--r-- 1 root root  153279 Feb 10  2013 /usr/local/lib/csnd.py
>> -rw-r--r-- 1 root root 2484541 Feb 10  2013 /usr/local/lib/_csnd.so
>> lrwxrwxrwx 1 root root      14 Sep  9 18:34 /usr/local/lib/libcsnd.so ->
>> libcsnd.so.6.0
>> -rw-r--r-- 1 root root  875635 Feb 10  2013 /usr/local/lib/libcsnd.so.5.2
>> -rw-r--r-- 1 root root  921714 Sep 10 17:14 /usr/local/lib/libcsnd.so.6.0
>>
>>
>>
>> On Wed, Sep 11, 2013 at 10:01 AM, Steven Yi <stevenyi@gmail.com> wrote:
>>>
>>> Hi Dave,
>>>
>>> That's curious.  It seems that blue found the csnd.jar and not the
>>> csnd6.jar.  When you self-compiled, did you copy the csnd6.jar into
>>> the location where csnd.jar is found?  (I think it's /usr/lib/jni)
>>>
>>> I'm at a conference at the moment with limited internet, but I'll see
>>> if I can do some testing to reproduce. I did do testing but it was on
>>> Debian 64-bit, but things should work on Ubuntu.
>>>
>>> steven
>>>
>>> On Wed, Sep 11, 2013 at 12:07 AM, Dave Seidel <dave.seidel@gmail.com>
>>> wrote:
>>> > It's pointing at /usr/local/bin/csound (which is the one I built). The
>>> > Render Method dropdown is, I see, set to Csound 5, but there's no
>>> > Csound 6
>>> > option (just Csound 5 and Commandline Runner).
>>> >
>>> > - Dave
>>> >
>>> >
>>> > On Tue, Sep 10, 2013 at 6:02 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>> >>
>>> >> Hi Dave,
>>> >>
>>> >> That's odd, it looks like it's trying to run the Csound 5 API.  The
>>> >> code for loading CS5/6 should only allow running one or the other at
>>> >> runtime.  I'll double check to see if I mis-annotated something.
>>> >> Could you check what setting you have in the Program Options for Disk
>>> >> Render service?
>>> >>
>>> >> Thanks!
>>> >> steven
>>> >>
>>> >> On Tue, Sep 10, 2013 at 10:11 PM, Dave Seidel <dave.seidel@gmail.com>
>>> >> wrote:
>>> >> > I just installed blue 2.5.2, and also updated Csound to 6.00.1
>>> >> > (built
>>> >> > myself
>>> >> > from Git) on Ubuntu. The blue UI is running just fine, but I can't
>>> >> > render to
>>> >> > disk or otherwise. There's nothing in the regular output window, but
>>> >> > if
>>> >> > I
>>> >> > open the application log, I see the following:
>>> >> >
>>> >> > SEVERE [global]
>>> >> > java.lang.NoClassDefFoundError: Could not initialize class
>>> >> > csnd.csndJNI
>>> >> > at csnd.Csound.<init>(Csound.java:469)
>>> >> > at
>>> >> >
>>> >> > blue.csnd5.render.APIDiskRenderer.renderToDisk(APIDiskRenderer.java:307)
>>> >> > at
>>> >> >
>>> >> >
>>> >> > blue.ui.core.project.RenderToDiskUtility$RunProxy.run(RenderToDiskUtility.java:247)
>>> >> > [catch] at java.lang.Thread.run(Thread.java:724)
>>> >> >
>>> >> > - Dave
>>> >> >
>>> >> >
>>> >> >
>>> >> > ------------------------------------------------------------------------------
>>> >> > How ServiceNow helps IT people transform IT departments:
>>> >> > 1. Consolidate legacy IT systems to a single system of record for IT
>>> >> > 2. Standardize and globalize service processes across IT
>>> >> > 3. Implement zero-touch automation to replace manual, redundant
>>> >> > tasks
>>> >> >
>>> >> >
>>> >> > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>>> >> > _______________________________________________
>>> >> > Bluemusic-users mailing list
>>> >> > Bluemusic-users@lists.sourceforge.net
>>> >> > https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> ------------------------------------------------------------------------------
>>> >> How ServiceNow helps IT people transform IT departments:
>>> >> 1. Consolidate legacy IT systems to a single system of record for IT
>>> >> 2. Standardize and globalize service processes across IT
>>> >> 3. Implement zero-touch automation to replace manual, redundant tasks
>>> >>
>>> >>
>>> >> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>>> >> _______________________________________________
>>> >> Bluemusic-users mailing list
>>> >> Bluemusic-users@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>> >
>>> >
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > How ServiceNow helps IT people transform IT departments:
>>> > 1. Consolidate legacy IT systems to a single system of record for IT
>>> > 2. Standardize and globalize service processes across IT
>>> > 3. Implement zero-touch automation to replace manual, redundant tasks
>>> >
>>> > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > Bluemusic-users mailing list
>>> > Bluemusic-users@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>> >
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> How ServiceNow helps IT people transform IT departments:
>>> 1. Consolidate legacy IT systems to a single system of record for IT
>>> 2. Standardize and globalize service processes across IT
>>> 3. Implement zero-touch automation to replace manual, redundant tasks
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Bluemusic-users mailing list
>>> Bluemusic-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluemusic-users