Mikhail Gusarov <dottedmag_at_dottedmag.net> writes:
> I've noticed the following warning in build log:
> dpkg-shlibdeps: warning: dependency on libgpg-error.so.0 could be
> avoided if "debian/libssh2-1/usr/lib/libssh2.so.1.0.1" were not
> uselessly linked against it (they use none of its symbols).
> And indeed, libssh2.so.1.0.1 links against libgpg-error.so.0 due to this
> library being mentioned in libgcrypt.la.
> Is there a way to make libtool know that modern(tm) OSes(tm) have the
> notion of interlibrary dependencies, so libgpg-error.so.0 won't be
> linked to libssh2.so.x.y.z?
Upstream libtool doesn't support this yet, as far as I understand, but
Debian's libtool package should have a patch in it that may make it
work. There have been quite some discussion on this, see for example:
But unfortunately it has not yet been resolved.
Received on 2009-08-13