Re: modules have a soname?
Simon Josefsson <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
Russ Allbery <[email protected]> writes: > Simon Josefsson <[email protected]> writes: > >> I'm tracking down why I get warnings from dpkg-shlibdeps on a package >> that builds dlopen modules with libtool. For reference, a build log is >> available here: > >> https://buildd.debian.org/status/fetch.php?pkg=jabberd2&arch=amd64&ver=2.3.4-1%2Bb1&stamp=1446749350 > >> According to dpkg-shlibdeps dlopen modules should not have a soname: > >> "A private library (like a plugin) should not have a SONAME and >> doesn't need to be versioned." > >> See http://linux.die.net/man/1/dpkg-shlibdeps for more text. > >> However when I build the package manually I can see that libtool does >> add a soname to the module: > > libtool adds an SONAME unless -avoid-version is passed in the libtool > arguments. Unless there's some use for the SONAME, it's generally best > practice to use -avoid-version when creating plugins. Thanks. > In other words, this is probably an upstream Makefile issue rather than a > problem with either libtool or dpkg-shlibdeps. Upstream do use -avoid-version in their Makefile.am, but I just noticed that it might not be used in all places. I'll double check. /Simon _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool
signature.asc
(application/pgp-signature, 472 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJWQbZyAAoJEIYLf7sy+BGd9xAIALP7+uuKq+7ewEUFfAadAPu4 /IVrtlKozcxVLvd2VjwGLFMRXIyV+J6yDwOuR71CSl503T+WJaHddGXU2v14c4yY nfVQKmtpT/PU8SoKLIsL9JSCNPns2vDLufWK+YToP3pUgiKoWr/BT0HkN39HYfIj BhgL77I9npE8Iv2GF4+u/UZxOZLPI93axHnJVFkzLa+VnAho8NAkAHK7HHbuaddA Oo7ZWwsdLL/Ig8Td9k7cv9cif580WIt6qdFcUNkFmYpzsPWJUmC6+Vyx6GmiXr7s hAFAjIUdPGCUp+Yo4WOU6F5TtyRDC/e2VNXI3HJX0nGuDgTFKWVvskGLyVLAkZQ= =6yg5 -----END PGP SIGNATURE-----