| I think csound cannot be statically built if you want to build any of
the wrappers. Not without modifying the build, at least. The reason for
that is that dynamically loaded code (which all of the wrappers have)
_must_ be compiled with -fPIC. However, static libcsound is not built
with -fPIC.
But -fPIC is said to be slower on some arches (x86 apparently), so
enabling it by default would not be optimum if you are not building any
of the wrappers.
On Wed, 2009-11-11 at 22:59 +0200, Chuckk Hubbard wrote:
> OK, thanks, that was what it was. Sorry that I couldn't remember it on my own.
> Although it appears the default on Linux is a static libcsound. I had
> to rebuild it as dynamic. I also saw several sources online saying
> never to set LD_LIBRARY_PATH to fix linkage, but wasn't able to quite
> figure out the "right" way, and if it ain't broke, no need to fix it.
>
> -Chuckk
>
>
> On Wed, Nov 11, 2009 at 3:46 AM, Felipe Sateler wrote:
> > Did you set your LD_LIBRARY_PATH to where libcsound(64).so.5.2 is? I
> > assume you trying to use a self-compiled version.
> >
> > About csound reaching testing... for some reason it is failing to build
> > in HPPA (some java brokennes). I'll fix that. You should be able to use
> > csound from unstable with no problems, though.
> >
> >
> > On Wed, 2009-11-11 at 02:57 +0200, Chuckk Hubbard wrote:
> >> BTW, maybe you know about this too. On running Python 2.5 and
> >> importing csnd, I get:
> >>
> >> >>> import csnd
> >> Traceback (most recent call last):
> >> File "", line 1, in
> >> File "/home/chuckk/Csound5.10.1/csnd.py", line 7, in
> >> import _csnd
> >> ImportError: /usr/lib/python2.5/site-packages/_csnd.so: undefined
> >> symbol: csoundGetChannelLock
> >>
> >> I seem to remember seeing something like this before, and digging
> >> through dynamic links, but I needed help with it and haven't had to do
> >> it since then. Anyone?
> >>
> >> -Chuckk
> >>
> >>
> >> On Wed, Nov 11, 2009 at 2:55 AM, Chuckk Hubbard
> >> wrote:
> >> > On Wed, Nov 11, 2009 at 2:47 AM, Felipe Sateler wrote:
> >> >> On Wed, 2009-11-11 at 01:57 +0200, Chuckk Hubbard wrote:
> >> >>> Building 5.11.1 on Debian GNU/Linux, when I run 'sudo scons install' I
> >> >>> get an error, that csPerfThread.hpp is not found. I edited SConstruct,
> >> >>> in the one place I found 'csPerfThread.hpp', to read
> >> >>> 'interfaces/csPerfThread.hpp', and it installed okay.
> >> >>
> >> >> Yes, that was my fault. Unfortunately, I realized after 5.11 was
> >> >> released, so sconstruct was fixed after that.
> >> >>
> >> >> If I may ask, why do you want to build 5.11 when it is already in the
> >> >> repos?
> >> >
> >> > No worries, glad it's already fixed.
> >> > I still only see 5.10 in the Debian testing repo.
> >> > -Chuckk
> >> >
> >> > --
> >> > http://www.badmuthahubbard.com
> >> >
> >>
> >>
> >>
> >
> >
> > --
> > Saludos,
> > Felipe Sateler
> >
>
>
>
> --
> http://www.badmuthahubbard.com
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
--
Saludos,
Felipe Sateler
|