mediaproxy diapatcher works in ubuntu hardy, but not in lenny. the only difference i see is tls/python related versions is in python-gnutls:
hardy: python-gnutls 1.1.4-1 lenny: python-gnutls 1.1.5-2
-- juha
it turned out that lenny two days ago had 2.4.0 version libgnutls26, but has now been ugraded to 2.4.1:
# apt-get install libgnutls26 ... Preparing to replace libgnutls26 2.4.0-2 (using .../libgnutls26_2.4.1-1_i386.deb)
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
-- juha
Had trouble with libgnutls26 2.4.0 and 2.4.1 - however python-gnutls (from hardy) seems to be fine (on Lenny), also with 2.4.1 .
However I somehow managed it to lock myself out :-) Is there something to be aware of when using mediaproxy 2.0 together with existing iptables rules? And: does it restart my interface - or other bad things?
Cheers, Thomas Gelf
Juha Heinanen schrieb:
it turned out that lenny two days ago had 2.4.0 version libgnutls26, but has now been ugraded to 2.4.1:
# apt-get install libgnutls26 ... Preparing to replace libgnutls26 2.4.0-2 (using .../libgnutls26_2.4.1-1_i386.deb)
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
-- juha
Had trouble with libgnutls26 2.4.0 and 2.4.1 - however python-gnutls (from hardy) seems to be fine (on Lenny), also with 2.4.1 .
However I somehow managed it to lock myself out :-) Is there something to be aware of when using mediaproxy 2.0 together with existing iptables rules? And: does it restart my interface - or other bad things?
Cheers, Thomas Gelf
Juha Heinanen schrieb:
it turned out that lenny two days ago had 2.4.0 version libgnutls26, but has now been ugraded to 2.4.1:
# apt-get install libgnutls26 ... Preparing to replace libgnutls26 2.4.0-2 (using .../libgnutls26_2.4.1-1_i386.deb)
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
-- juha
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