On Tue, Oct 25, 2011 at 08:31:38PM +0200, Jörn Nettingsmeier wrote:
> 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
> ...
It seems the following line is missing in the install target
of the Makefile:
ln -sf $(ZITA-CONVOLVER_MIN) $(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_SO)
to be added after the call to ldconfig. The whitespace must be a TAB,
not spaces.
If you had 2.0.0 installed you had
libzita-convolver.so -> libzita-convolver.so.2.0.0
libzita-convolver.so.2 -> libzita-convolver.so.2.0.0
libzita-convolver.so.2.0.0
after installing 3.0.2 this should become
libzita-convolver.so -> libzita-convolver.so.3.0.2
libzita-convolver.so.2 -> libzita-convolver.so.2.0.0
libzita-convolver.so.2.0.0
libzita-convolver.so.3 -> libzita-convolver.so.3.0.2
libzita-convolver.so.3.0.2
The result is that existing apps will use 2.0.0 until they
are recompiled. Anything compiled after the installing the
new library will use 3.0.2.
If you have no apps needing 2.0.0 (or if you recompile them)
you can remove .so.2 and .so.2.0.0.
There is also a bug in jconvolver, config.cc line 206: the '6'
in the sscanf() should be '5'. I've no idea how this slipped
in, as all jconvolver configs were reviewed, edited and tested.
Must be git playing tricks on me.
Updates will be released soon.
--
FA