[Zope] ImportError:_ldapmodule.so: undefined symbol: ldap_ufn_setfilter

Dreaming Warrior zeaxis555@yahoo.com
Fri, 20 Dec 2002 06:47:02 -0800 (PST)


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