Re: _ldap.so: undefined symbol: gnutls_alert_send

2010-04-29 Thread Howard Chu

Jean-Sébastien Mansart wrote:

Hi.

I've got this error with a Zope/Plone site :


Nothing in this trace is a part of OpenLDAP software. Nothing in OpenLDAP 
calls gnutls_alert_send(). Sounds like you need to contact the actual authors 
of the code you're working with.



Traceback (most recent call last):
File /zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/run.py,
line 56, in ?
run()
File /zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/run.py,
line 21, in run
starter.prepare()
File
/home/zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/__init__.py,
line 102, in prepare
self.startZope()
File
/home/zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/__init__.py,
line 278, in startZope
Zope2.startup()
File
/home/zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/Zope2/__init__.py,
line 47, in startup
_startup()
File
/home/zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/Zope2/App/startup.py,
line 45, in startup
OFS.Application.import_products()
File
/home/zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/OFS/Application.py,
line 686, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File
/home/zope/z_sgec/Zope-2.10.11-final-py2.4/lib/python/OFS/Application.py,
line 709, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File
/home/zope/z_sgec/buildout-cache/eggs/Products.LDAPMultiPlugins-1.9-py2.4.egg/Products/LDAPMultiPlugins/__init__.py,
line 22, in ?
from Products.LDAPMultiPlugins.LDAPMultiPlugin import addLDAPMultiPluginForm
File
/home/zope/z_sgec/buildout-cache/eggs/Products.LDAPMultiPlugins-1.9-py2.4.egg/Products/LDAPMultiPlugins/LDAPMultiPlugin.py,
line 29, in ?
from Products.LDAPUserFolder import manage_addLDAPUserFolder
File
/home/zope/z_sgec/buildout-cache/eggs/Products.LDAPUserFolder-2.16-py2.4.egg/Products/LDAPUserFolder/__init__.py,
line 20, in ?
from Products.LDAPUserFolder.LDAPUserFolder import LDAPUserFolder
File
/home/zope/z_sgec/buildout-cache/eggs/Products.LDAPUserFolder-2.16-py2.4.egg/Products/LDAPUserFolder/LDAPUserFolder.py,
line 47, in ?
from Products.LDAPUserFolder.LDAPDelegate import filter_format
File
/home/zope/z_sgec/buildout-cache/eggs/Products.LDAPUserFolder-2.16-py2.4.egg/Products/LDAPUserFolder/LDAPDelegate.py,
line 19, in ?
import ldap
File
/home/zope/z_sgec/buildout-cache/eggs/python_ldap-2.3.11-py2.4-linux-i686.egg/ldap/__init__.py,
line 22, in ?
from _ldap import *
ImportError:
/home/zope/z_sgec/buildout-cache/eggs/python_ldap-2.3.11-py2.4-linux-i686.egg/_ldap.so:
undefined symbol: gnutls_alert_send

I have install gnutls1.3, recompiled openldap, python-ldap, and so on, but
nothing works.

Anyone could help me ?

Thanks.
--

*Jean-Sébastien Mansart *- Développeur Web
Email : jean-sebastien.mans...@bayard-service.com
mailto:jean-sebastien.mans...@bayard-service.com
Tel : 04 79 26 28 29

*Bayard Service Edition *
Savoie Technolac - House Boat
BP308 - 73377 Le Bourget du Lac Cedex
www.bayardserviceweb.com http://www.bayardserviceweb.com




--
  -- Howard Chu
  CTO, Symas Corp.   http://www.symas.com
  Director, Highland Sun http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/


Re: _ldap.so: undefined symbol: gnutls_alert_send

2010-04-29 Thread Michael Ströder
Howard Chu wrote:
 Jean-Sébastien Mansart wrote:
 I've got this error with a Zope/Plone site :
 Traceback (most recent call last):
 [..]
 undefined symbol: gnutls_alert_send
 
 Nothing in this trace is a part of OpenLDAP software. Nothing in
 OpenLDAP calls gnutls_alert_send(). Sounds like you need to contact the
 actual authors of the code you're working with.

Well, it seems he uses the Debian builds of python-ldap and OpenLDAP  which
are likely linked against gnu-tls. python-ldap definitely also does not call
gnutls_alert_send(). So I guess there's something within GNU-TLS and some
library is missing.

This might give a hint:

ldd
/home/zope/z_sgec/buildout-cache/eggs/python_ldap-2.3.11-py2.4-linux-i686.egg/_ldap.so

But support for this can only be given by the Debian package maintainer(s) or
the maintainer of the python-ldap .egg distribution file which is used. This
might be linked differently. In both cases they likely lurk on the
python-ldap-dev mailing list. You're welcome to repost your question there.

Ciao, Michael.