Re: [Bluemusic-users] lib_jcsound6.so
Brought to you by:
kunstmusik
|
From: Felipe S. <fsa...@gm...> - 2013-10-20 20:00:11
|
Great investigation Steven! I'll add the fix to the debian package
(already uploaded but not yet on the archives).
I'm no java expert but it makes sense to not link against the jni
libs, because it is java itself that will be loading the extension, so
any jni lib will already be loaded.
As soon as the current package reaches the archive I will upload a fixed version
On Sun, Oct 20, 2013 at 4:29 PM, Steven Yi <ste...@gm...> wrote:
> I found a fix and have committed it to the release/6.01.00 branch.
> The library was linking to the JNI_LIBRARIES, but I found if I took it
> out it would link and run alright. I am thinking we may be able to
> take out that link altogether on all platforms, but for now I made the
> change for Linux only.
>
> Menno: Please try updating and recompiling.
>
> Felipe: Sorry this release has been a bit awkward; hopefully we can
> sort it out better for next release!
>
> steven
>
> On Sun, Oct 20, 2013 at 1:36 PM, Steven Yi <ste...@gm...> wrote:
>> Just to note, I think this is a Linux-only issue so far. What I'm
>> seeing is that my api tester is failing because lib_jcsound6.so is
>> linked to some library it can't find:
>>
>> steven@localhost:~/csound/cs6make$ ldd lib_jcsound6.so
>> linux-vdso.so.1 => (0x00007fff8fdfd000)
>> libjawt.so => /usr/lib/jvm/default-java/jre/lib/amd64/libjawt.so
>> (0x00007f40fb704000)
>> libjvm.so => /usr/lib/jvm/default-java/jre/lib/amd64/server/libjvm.so
>> (0x00007f40fab2b000)
>> libcsound64.so.6.0 => /home/steven/csound/cs6make/libcsound64.so.6.0
>> (0x00007f40fa62e000)
>> libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1
>> (0x00007f40fa3b2000)
>> libcsnd6.so.6.0 => /home/steven/csound/cs6make/libcsnd6.so.6.0
>> (0x00007f40fa166000)
>> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f40f9e5f000)
>> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f40f9bdd000)
>> libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f40f99ce000)
>> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f40f97b8000)
>> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f40f959c000)
>> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f40f9211000)
>> libawt.so => /usr/lib/jvm/default-java/jre/lib/amd64/libawt.so
>> (0x00007f40f8f32000)
>> libmawt.so => not found
>> libjava.so => /usr/lib/jvm/default-java/jre/lib/amd64/libjava.so
>> (0x00007f40f8d00000)
>> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f40f8afc000)
>> libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f40f88b0000)
>> libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
>> (0x00007f40f83e0000)
>> libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f40f81b3000)
>> libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f40f7fad000)
>> /lib64/ld-linux-x86-64.so.2 (0x00007f40fbb76000)
>> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f40f7da4000)
>> libverify.so => /usr/lib/jvm/default-java/jre/lib/amd64/libverify.so
>> (0x00007f40f7b94000)
>> libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f40f797b000)
>>
>> It's that libmawt.so that's the issue. I'm research further now.
>>
>> On Sun, Oct 20, 2013 at 12:56 PM, Steven Yi <ste...@gm...> wrote:
>>> Ugh, I just tried this on Debian and am getting the same thing. I'm
>>> worried that the java build is wrong on linux, but am investigating.
>>> (adding Felipe here just so he knows there's a possible issue). I'll
>>> inform when I have a chance to diagnose.
>>>
>>> On Sun, Oct 20, 2013 at 12:07 PM, menno <nab...@ya...> wrote:
>>>> Hi Steven,
>>>>
>>>> after an install of Csound6.01 i do not have access to the Csound6 API
>>>> anymore and have only the Commandline Runner available - i do not know why.
>>>> I have changed the blue script so that it points to: ${default_options}
>>>> -J-Djava.library.path=/usr/local/lib/ \
>>>> because that is where lib_jcsound6.so is.
>>>> Any ideas on how to get the API option running again?
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://csound.1045644.n5.nabble.com/lib-jcsound6-so-tp5728583.html
>>>> Sent from the Csound - Blue - User mailing list archive at Nabble.com.
>>>>
>>>> ------------------------------------------------------------------------------
>>>> October Webinars: Code for Performance
>>>> Free Intel webinars can help you accelerate application performance.
>>>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
>>>> the latest Intel processors and coprocessors. See abstracts and register >
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Bluemusic-users mailing list
>>>> Blu...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
--
Saludos,
Felipe Sateler
|