[OpenSER-Users] Compiling / running Mediaproxy 2.0 on Debian Lenny
Juha Heinanen
jh at tutpro.com
Thu Jul 10 11:05:14 CEST 2008
Juha Heinanen writes:
> perhaps there is a mismatch in python gnutls support and libgnutls26
> library, because even after the upgrade python 2.5 uses the old
> function:
>
> Jul 7 17:49:54 lenny-1 media-relay[4391]: [-] File "/usr/lib/python2.5/ctypes/__init__.py", line 366, in __getitem__
> Jul 7 17:49:54 lenny-1 media-relay[4391]: [-] func = self._FuncPtr((name_or_ordinal, self))
> Jul 7 17:49:54 lenny-1 media-relay[4391]: [-] exceptions.AttributeError: /usr/lib/libgnutls-extra.so.26: undefined symbol: gnutls_openpgp_crt_get_id
i studied this a bit more and found that the error goes away if i change
this line
gnutls_openpgp_crt_get_id =_libraries['libgnutls-extra.so.26'].gnutls_openpgp_crt_get_id
in /var/lib/python-support/python2.5/gnutls/library/functions.py of
lenny testing:
to
gnutls_openpgp_crt_get_id =_libraries['libgnutls-extra.so.26'].gnutls_openpgp_crt_get_key_id
obviously this is a hack. looks like python-gnutls package of lenny has
not been updated to gnutls 2.4.1 library. i filed a debian bug report
about the problem:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490147
-- juha
More information about the sr-users
mailing list