[Python-modules-team] Bug#651865: python-gnutls: gnutls.library.functions fails with libgnutls28-3.0.8-2

Teddy Hogeborn teddy at recompile.se
Mon Dec 12 18:12:21 UTC 2011

Package: python-gnutls
Version: 1.2.0-2+b1
Severity: normal

python-gnutls 1.2.0-2 seems wholly incompatible with libgnutls28

Steps to reproduce:
python -c "import gnutls.library.functions"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/gnutls/library/__init__.py", line 133, in <module>
  File "/usr/lib/pymodules/python2.7/gnutls/library/__init__.py", line 117, in initialize_gcrypt
    gcry_control = libgnutls.gcry_control
  File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libgnutls.so.28: undefined symbol: gcry_control

Python-gnutls finds libgnutls28 before it finds libgnutls26, which has
the gcry_control symbol it needs.

/Teddy Hogeborn

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-gnutls depends on:
ii  libc6           2.13-22
ii  libgnutls26     2.12.14-4
ii  python          2.7.2-9
ii  python-support  1.0.14

Versions of packages python-gnutls recommends:
ii  python-twisted-core  11.0.0-2

python-gnutls suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list