Re: modules have a soname?
Simon Josefsson <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
Simon Josefsson <[email protected]> writes: >> 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. It doesn't work even in the cases where upstream's Makefile.am uses -avoid-version. Libtool is still adding a -Wl,-soname: jas@latte:~/src/jabberd2-jas/storage$ /bin/bash ../libtool --tag=CC --mode=link gcc -I../c2s -I.. -g -O2 -funsigned-char -module -avoid-version -o authreg_anon.la -rpath /usr/local/lib/jabberd authreg_anon.lo -lexpat -L../util -lssl -lcrypto -lgsasl -ludns -lidn -lexpat -lresolv -lcrypt -ldl -lz libtool: link: rm -fr .libs/authreg_anon.la .libs/authreg_anon.lai .libs/authreg_anon.so libtool: link: gcc -shared -fPIC -DPIC .libs/authreg_anon.o -L../util -lssl -lcrypto /usr/lib/libgsasl.so -ludns -lidn /usr/lib/x86_64-linux-gnu/libexpat.so -lresolv -lcrypt -ldl -lz -O2 -Wl,-soname -Wl,authreg_anon.so -o .libs/authreg_anon.so libtool: link: ( cd ".libs" && rm -f "authreg_anon.la" && ln -s "../authreg_anon.la" "authreg_anon.la" ) jas@latte:~/src/jabberd2-jas/storage$ Is this intentional, or should we start to track down how -Wl,-soname was added and treat that as a bug? The manual says: '-avoid-version' Tries to avoid versioning (*note Versioning::) for libraries and modules, i.e. no version information is stored and no symbolic links are created. If the platform requires versioning, this option has no effect. I don't know whether libtool regards the debian/gnu/linux/elf platform as requiring versioning or not. This is libtool 2.4.2 from Debian, if it matters. /Simon _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool
signature.asc
(application/pgp-signature, 472 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJWQbuIAAoJEIYLf7sy+BGdWBgIAKC8oWDO0b34kUR7uy5v6p49 w77a++lkNtDtWQLeoPuyelErzftqSuqyufGWwKF0/MSel//FwvXS86nc/JSyyzYo ZvkaRcAvPgC45zgSO1YvOK9BCI8TYLdGI7YO0xVoTvv+eb8Ty5puA8F3kBlNYKW6 kNo5jzp8YO04jYzhomgx2wDnUAdUAKd4FZ8jQ5OzOX11r7PhxdFsreCBVcIEb+lO 3jb/DWbZIaTH+Q/B8a76Ppahyskv1dRbVoFQIlHT+XkozYExulLRI17B9i5bsZin I0WdQf8ZY36Z56yFTRkZZdue64vo+h/9siXdBJq4zhnyxvwXJ6ddJ/JlzlKU7j0= =blvB -----END PGP SIGNATURE-----