[Pkg-gnutls-maint] Bug#453035: Bug#453035: gnutls cli binaries linked against both SO versions

Andreas Metzler ametzler at downhill.at.eu.org
Tue Nov 27 18:55:23 UTC 2007


On 2007-11-26 Jan Christoph Nordholz <hesso at pool.math.tu-berlin.de> wrote:
> Package: gnutls-bin
> Version: 2.1.6-1
> Tags: experimental

> Hi,

> there's a problem with gnutls-{cli,serv} in the new gnutls-bin:

> ] jcn at hejre:~$ ldd /usr/bin/gnutls-cli
> ]         linux-gate.so.1 =>  (0xb7f6f000)
> ]    >>>  libgnutls.so.25 => /usr/lib/libgnutls.so.25 (0xb7ee4000)
> ]    >>>  libgnutls-extra.so.25 => /usr/lib/libgnutls-extra.so.25 (0xb7ed8000)
> ]         libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7ec9000)
> ]         libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7e63000)
> ]         libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7e5f000)
> ]         libc.so.6 => /lib/libc.so.6 (0xb7d12000)
> ]         libz.so.1 => /usr/lib/libz.so.1 (0xb7cfc000)
> ]         libopencdk.so.10 => /usr/lib/libopencdk.so.10 (0xb7cda000)
> ]         libnsl.so.1 => /lib/libnsl.so.1 (0xb7cc2000)
> ]         liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0xb7ca2000)
> ]    >>>  libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7c2b000)
> ]         /lib/ld-linux.so.2 (0xb7f70000)
> ] jcn at hejre:~$ /usr/bin/gnutls-cli
> ] global_init_extra: The GnuTLS library version does not match the GnuTLS-extra library version.


Hello,
for reference the actual culprit is libgnutls-extra, which gets
(re)linked at install time against the system libgnutls. Note the
"-lgnutls".

libtool: install: warning: relinking `libgnutls-extra.la'
(cd /tmp/GNUTLS/gnutls25-2.1.6/libextra; /bin/bash ../libtool  --tag=CC --mode=relink cc -std=gnu99 -g -Wall -O2 -D_REENTRANT -D_THREAD_SAFE -pipe -g -Wall -O2 -D_REENTRANT -D_THREAD_SAFE -Wno-pointer-sign -no-undefined -L/usr/lib -lopencdk -L/usr/lib -lgcrypt -L/usr/lib -lgpg-error -L/usr/lib -lnsl -L/usr/lib -lz -version-info 25:1:0 -llzo2 -Wl,--version-script=./libgnutls-extra.vers -o libgnutls-extra.la -rpath /usr/lib gnutls_extra.lo gnutls_openpgp.lo gnutls_ia.lo openpgp/libgnutls_openpgp.la ../lgl/liblgnu.la ../lib/libgnutls.la -inst-prefix-dir /tmp/GNUTLS/gnutls25-2.1.6/debian/tmp/)
cc -std=gnu99 -shared  .libs/gnutls_extra.o .libs/gnutls_openpgp.o .libs/gnutls_ia.o -Wl,--whole-archive openpgp/.libs/libgnutls_openpgp.a ../lgl/.libs/liblgnu.a -Wl,--no-whole-archive  -L/usr/lib -L/tmp/GNUTLS/gnutls25-2.1.6/debian/tmp//usr/lib -lopencdk -lnsl -lz -llzo2 -lgcrypt -lgpg-error -lgnutls  -Wl,--version-script=./libgnutls-extra.vers -Wl,-soname -Wl,libgnutls-extra.so.25 -o .libs/libgnutls-extra.so.25.0.1

The previous compilation and linkage works correctly, which is why the
testsuite worked. ;-)

cu and- There is always the possibility of
        Build-conflicts: libgnutls-dev -reas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'





More information about the Pkg-gnutls-maint mailing list