Csound Csound-dev Csound-tekno Search About

[Cs-dev] libraries, again

Date2009-07-31 14:29
FromDave Phillips
Subject[Cs-dev] libraries, again
Greetings,

I'm still struggling with what appears to be a simple problem. When I 
start AVSynthesis 29_05_10 on my Ubuntu Jaunty system it opens okay, but 
it crashes when I initiate a performance. The error report returns this 
message:

    java: symbol lookup error: /home/dlphilp/AVS/lib/lib_jcsound.so: 
undefined symbol: csoundInitialize

It seems that the library isn't finding a major dependency, i.e. 
libcsound64. I built Csound 5.10.1 for doubles with the Python and Java 
interface options, and I installed it with the unmodified install.py 
script. No errors were reported during the installation.

I ran 'ldd lib_jcsound.so' on a working installation and discovered that 
libcsound64.so was referenced there, but ldd reports no such dependency 
for the malfunctioning version. Did I miss something during 
installation/configuration ?

Any help would be greatly appreciated.

TIA,

dp


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-07-31 14:53
FromDave Phillips
SubjectRe: [Cs-dev] libraries, again (solved)
Dave Phillips wrote:
> I'm still struggling with what appears to be a simple problem. When I 
> start AVSynthesis 29_05_10 on my Ubuntu Jaunty system it opens okay, but 
> it crashes when I initiate a performance. The error report returns this 
> message:
>
>     java: symbol lookup error: /home/dlphilp/AVS/lib/lib_jcsound.so: 
> undefined symbol: csoundInitialize
>
> It seems that the library isn't finding a major dependency, i.e. 
> libcsound64. I built Csound 5.10.1 for doubles with the Python and Java 
> interface options, and I installed it with the unmodified install.py 
> script. No errors were reported during the installation.
>
> I ran 'ldd lib_jcsound.so' on a working installation and discovered that 
> libcsound64.so was referenced there, but ldd reports no such dependency 
> for the malfunctioning version. Did I miss something during 
> installation/configuration ?
>
> Any help would be greatly appreciated.
>
>   

Okay, I fixed the problem by building and installing the CVS sources. 
ldd reports the libcsound64 dependency now, and AVS works.

Am I correct to note that there is a bug in the current public release 
of the sources for 5.10.1 ? It seems that at this time it compiles a 
non-viable lib_jcsound.so. Please advise if I'm wrong about this.

Ubuntu Jaunty 9.04
Java SDK 1.6
Csound 5.10.1 tarball (corrected in CVS sources)

Best,

dp


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-07-31 15:53
FromMichael Gogins
SubjectRe: [Cs-dev] libraries, again
Could be a versioned shared library name problem... might try setting
up missing symbolic links, e.g. libcsound64.so -> libscound64.so.5.2.

Hope this helps,
Mike

On 7/31/09, Dave Phillips  wrote:
> Greetings,
>
> I'm still struggling with what appears to be a simple problem. When I
> start AVSynthesis 29_05_10 on my Ubuntu Jaunty system it opens okay, but
> it crashes when I initiate a performance. The error report returns this
> message:
>
>     java: symbol lookup error: /home/dlphilp/AVS/lib/lib_jcsound.so:
> undefined symbol: csoundInitialize
>
> It seems that the library isn't finding a major dependency, i.e.
> libcsound64. I built Csound 5.10.1 for doubles with the Python and Java
> interface options, and I installed it with the unmodified install.py
> script. No errors were reported during the installation.
>
> I ran 'ldd lib_jcsound.so' on a working installation and discovered that
> libcsound64.so was referenced there, but ldd reports no such dependency
> for the malfunctioning version. Did I miss something during
> installation/configuration ?
>
> Any help would be greatly appreciated.
>
> TIA,
>
> dp
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-07-31 16:01
FromDave Phillips
SubjectRe: [Cs-dev] libraries, again
Michael Gogins wrote:
> Could be a versioned shared library name problem... might try setting
> up missing symbolic links, e.g. libcsound64.so -> libscound64.so.5.2.
>   
Hi Michael,

Thanks, I tried that earlier and got no joy. A build of the CVS sources 
resolved the issue, so I'm wondering if there's a problem in the public 
tarball.

Best,

dp


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net