David Haller wrote:
Hello,
On Sat, 03 Oct 2009, Per Jessen wrote:
I'm building a daemon on an 11.1 system, then copying it to an 11.0 system - where it complains about not finding libltdl.so.7, only libltdl.so.3.1.6. I know this library is from libtool, but why is this causing me a problem? I seem to have managed a work around be symlinking libltdl.so.3.1.6 as libltdl.so.7, but I'd like to understand the full story.
The keyword here is 'soname'. The soname is supposed to change if the API (not the implementation) of the lib changes. See e.g.
info '(libtool)Versioning'
IIRC there's also a LDP Howto on the subject. Other important docs escape my recollection at this moment.
It always depends how compatible the API of two versions are and what functions are actually used. Sometimes, symlinking helps. But you should expect that it doesn't.
Yeah, I understand that, it was really only intended as a quick work-around. I've just spotted the real issue - it's not my code using libltdl, it is being drawn in by another library (libclamav). /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org