gnutls-2.2.0 - self link issue

Simon Josefsson simon at josefsson.org
Fri Dec 21 23:31:38 CET 2007


"Alon Bar-Lev" <alon.barlev at gmail.com> writes:

> On 12/18/07, Simon Josefsson <simon at josefsson.org> wrote:
>> So, I cannot reproduce the problem.  I need a recipe to reproduce this
>> outside of the gentoo ebuild system to be able to debug this further.
>
> Sorry for the delay...
>
> While having gnutls-2.0.4 installed.
>
> $ tar -xf gnutls-2.2.0.tar.bz2
> $ cd gnutls-2.2.0
> $ ./configure
> $ make install DESTDIR=`pwd`/xxx
> $ ldd xxx/usr/local/lib/libgnutls-extra.so
>         linux-gate.so.1 =>  (0xb7fc7000)
>         libopencdk.so.10 => /usr/lib/libopencdk.so.10 (0xb7f7a000)
>         liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0xb7f5c000)
>         libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7ee2000)
>         libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7edd000)
>         libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7e63000)
>         libc.so.6 => /lib/libc.so.6 (0xb7d33000)
>         libz.so.1 => /lib/libz.so.1 (0xb7d1f000)
>         libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7d0e000)
>         /lib/ld-linux.so.2 (0x80000000)

That's exactly what I needed, I can now reproduce the problem.  It is
late today and I'm leaving for the holidays early tomorrow, but I may be
able to debug it on my laptop offline.

Btw, is only libgnutls-extra.so affected for you?  The programs appear
to be linked properly here, even those that are linked with
libgnutls-extra.so.  I suspect the bug is in libextra/Makefile.am in how
it interacts with libtool.

jas at mocca:~/gnutls-2.2.0$ ldd xxx/usr/local/bin/psktool
        linux-gate.so.1 =>  (0xffffe000)
        libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb7e89000)
        libgnutls-extra.so.26 => /usr/lib/libgnutls-extra.so.26 (0xb7e7e000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7e15000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7e11000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7cc4000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7cb5000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7ca0000)
        libopencdk.so.10 => /usr/lib/libopencdk.so.10 (0xb7c7d000)
        libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb7c65000)
        /lib/ld-linux.so.2 (0xb7f12000)
jas at mocca:~/gnutls-2.2.0$ ldd xxx/usr/local/lib/libgnutls.so
        linux-gate.so.1 =>  (0xffffe000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f2f000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7ec7000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7ec2000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7d75000)
        /lib/ld-linux.so.2 (0x80000000)
jas at mocca:~/gnutls-2.2.0$ ldd xxx/usr/local/lib/libgnutls-openssl.so
        linux-gate.so.1 =>  (0xffffe000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7eaa000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7ea6000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7e2e000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7ce1000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7cd2000)
        libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb7cba000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7ca5000)
        /lib/ld-linux.so.2 (0x80000000)
jas at mocca:~/gnutls-2.2.0$ ldd xxx/usr/local/lib/libgnutls-extra.so
        linux-gate.so.1 =>  (0xffffe000)
        libopencdk.so.10 => /usr/lib/libopencdk.so.10 (0xb7f0a000)
        liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0xb7eea000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7e81000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7e7d000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7e06000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7cb9000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7ca4000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7c94000)
        libnsl.so.1 => /lib/i686/cmov/libnsl.so.1 (0xb7c7c000)
        /lib/ld-linux.so.2 (0x80000000)
jas at mocca:~/gnutls-2.2.0$ 

Thanks,
/Simon





More information about the Gnutls-devel mailing list