On 10/18/2011 09:06 PM, Fons Adriaensen wrote:
Hello all,
New releases on<http://kokkinizita.linuxaudio.org:/linuxaudio/downloads>:
zita-convolver-3.0.2
jconvolver/fconvolver-0.9.1
i'm having trouble with the linker. when i install the new
zita-convolver, /usr/local/lib64/libzita-convolver.so still points to
the old version. jconvolver 0.9.1 then complains about
jconvolver.o: In function `main':
jconvolver.cc:(.text+0x15e): undefined reference to
`zita_convolver_major_version()'
jconvolver.cc:(.text+0x5b4): undefined reference to
`Convproc::print(_IO_FILE*)'
...
and so on.
even when i manually remove the old libraries and re-run ldconfig, no
unversioned libzita-convolver.so link will be regenerated (which makes
sense, given that the library is explicitly not backwards-compatible).
but then i'd need some way to specify the new version explicitly in the
jconvolver makefile, don't i? -lzita-convolver seems to always find the
old one only, or none at all if the generic link is removed.
any hints appreciated.
It effectively only does: ln -s libzita-convolver.so.3.0.2 /usr/lib/libzitaconvolver.so
so it just creates a symlink to the versioned .so
Apps expecting the old lib will simply fail.
Not sure how to do it from the makefile or in some other package
management system.