[Zope] _ldapmodule.so: undefined symbol: ldap_first_tmplcol

Jens Vagelpohl jens@zope.com
Fri, 20 Dec 2002 14:32:59 -0500


you need to do a full recompile and then make sure that all required 
OpenLDAP libraries are within the library path of your machine.

jens


On Friday, Dec 20, 2002, at 10:29 US/Eastern, Dreaming Warrior wrote:

> now it is this....
> problem is that i dont have access to install
> python-ldap..this is on client machine...
>
> ImportError:
> /usr/local/zope/lib/python/Products/LDAPUs
> erFolder/_ldapmodule.so: undefined symbol:
> ldap_first_tmplcol
>
> do you say python-ldap has to be reinstalled...?
>
> regards,
> rockash....
>
>
> --- Jens Vagelpohl <jens@zope.com> wrote:
>> well, this is the same problem. your python-ldap
>> module is screwed up.
>>
>> jens
>>
>> On Friday, Dec 20, 2002, at 09:47 US/Eastern,
>> Dreaming Warrior wrote:
>>
>>> thanks for the reply...the reason why i am using
>> the
>>> older version is bcoz, i had used the same some
>> time
>>> for a diff project ...how ever i used the latest
>>> stable version which is LDAPUserFolder-1.6...this
>> gave
>>> the error ...
>>> 2002-12-20T13:10:13 ERROR(200) Zope Could not
>> import
>>> Products.LDAPUserFolder
>>> Traceback (innermost last):
>>>   File
>> /usr/local/zope/lib/python/OFS/Application.py,
>>> line 531, in import_product
>>> File
>>>
>>
> /usr/local/zope/lib/python/Products/LDAPUserFolder/__init__.py,
>>> line 13, in ?
>>> File
>>>
>>
> /usr/local/zope/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py,
>>> line 34, in ?
>>> File
>>>
>>
> /usr/local/zope/lib/python/Products/LDAPUserFolder/LDAPUser.py,
>>> line 19, in ?
>>>     (Object: aq_inner)
>>> File
>>>
>>
> /usr/local/zope/lib/python/Products/LDAPUserFolder/utils.py,
>>> line 32, in ?
>>> ImportError: No module named ldap
>>>
>>>
>>> I have copied the _ldapmodule.so as instructed
>> into
>>> the LDAP folder in Products.....but still i get
>> this
>>> error....also the problem i have is that i have to
>>> install on client machine and that sys admin is
>> not
>>> very co-operative....i have access only to
>>> /usr/local/zope and my home folder....can u think
>> of a
>>> solution ...as to how i can get this running....
>>>
>>> regards,
>>>
>>> rockash.......
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --- Jens Vagelpohl <jens@zope.com> wrote:
>>>> first of all (and this has nothing to do with the
>>>> real problem), why
>>>> are you using such an ancient version of the
>>>> LDAPUserFolder?
>>>>
>>>> as far as the real problem goes, it looks like
>> your
>>>> compilation of
>>>> python-ldap went wrong, or it could be that your
>>>> library search path is
>>>> missing the path to the actual OpenLDAP
>> libraries.
>>>>
>>>> jens
>>>>
>>>>
>>>> On Friday, Dec 20, 2002, at 08:24 US/Eastern,
>>>> Dreaming Warrior wrote:
>>>>
>>>>> Hello,
>>>>> i am getting this error when i am trying to
>> start
>>>>> zope...i am using
>>>>> openldap2.0.12,LDAPUserFolder1.2.beta3,i have
>>>>> installed python-ldap-2.0.0pre06 too....can
>> anyone
>>>>> checkout why it is complaining
>>>>>
>>>>> Traceback (most recent call last):
>>>>>   File
>>>>> "/usr/local/zope/lib/python/OFS/Application.py",
>>>> line
>>>>> 531, in import_product
>>>>>     product=__import__(pname, global_dict,
>>>>> global_dict, silly)
>>>>>   File
>>>>>
>>>>
>>>
>>
> "/usr/local/zope/lib/python/Products/LDAPUserFolder/__init__.py",
>>>>> line 13, in ?
>>>>>     from LDAPUserFolder import
>>>> addLDAPUserFolderForm,
>>>>> \
>>>>>   File
>>>>>
>>>>
>>>
>>
> "/usr/local/zope/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py",
>>>>> line 30, in ?
>>>>>     import _ldap
>>>>> ImportError:
>>>>>
>>>>
>>>
>>
> /usr/local/zope/lib/python/Products/LDAPUserFolder/_ldapmodule.so:
>>>>> undefined symbol: ldap_ufn_setfilter
>>>>>
>>>>>
>>>>> regards,
>>>>>
>>>>> rockash..............
>>>>>
>>>>>
>>>>>
>> __________________________________________________
>>>>> Do you Yahoo!?
>>>>> Yahoo! Mail Plus - Powerful. Affordable. Sign up
>>>> now.
>>>>> http://mailplus.yahoo.com
>>>>>
>>>>> _______________________________________________
>>>>> Zope maillist  -  Zope@zope.org
>>>>> http://lists.zope.org/mailman/listinfo/zope
>>>>> **   No cross posts or HTML encoding!  **
>>>>> (Related lists -
>>>>>
>>>>
>> http://lists.zope.org/mailman/listinfo/zope-announce
>>>>>  http://lists.zope.org/mailman/listinfo/zope-dev
>> )
>>>>
>>>>
>>>> _______________________________________________
>>>> Zope maillist  -  Zope@zope.org
>>>> http://lists.zope.org/mailman/listinfo/zope
>>>> **   No cross posts or HTML encoding!  **
>>>> (Related lists -
>>>>
>>>>
>> http://lists.zope.org/mailman/listinfo/zope-announce
>>>>  http://lists.zope.org/mailman/listinfo/zope-dev
>> )
>>>
>>>
>>> =====
>>> The Power of the Mind is the Last of the UnTamed
>> Beasts
>>> on this Planet...!!!
>>> *:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_,.-:*'``'O
>>>
>>> __________________________________________________
>>> Do you Yahoo!?
>>> Yahoo! Mail Plus - Powerful. Affordable. Sign up
>> now.
>>> http://mailplus.yahoo.com
>>
>
>
> =====
> The Power of the Mind is the Last of the UnTamed Beasts
> on this Planet...!!!
> *:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_,.-:*'``'O
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )