Opened 16 years ago

Closed 16 years ago

#2994 closed defect (fixed)

BUG: "sudo port install py-ldap" runs without error, ldap python module not found

Reported by: mheyman@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I upgraded my G4 Powerbook to Tiger (10.4). Then I fired up the interpreter and said 'import ldap'. It was not found. So I did a 'sudo port install py-ldap' which ran quietly and only gave me a cleaning up message and then quit. I went to the importer but still no ldap module. I updated my ports per the website and tried again with the same results. I did a search for ldap.py in /System/Library where the sys.pat seems to point but came up with nothing. Hopefully we just need to add something to sys.path or something.

FYI ... I had installed python2.4 and got py-ldap running there. It's now

broken ... apparently someone changed something so that _ldap.so no longer links looking for symbol _ldap_matchingrule_free

Change History (3)

comment:1 Changed 16 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

I currently do not have 10.4, so for now I can't solve the problem.

comment:2 Changed 16 years ago by mww@…

Summary: "sudo port install py-ldap" runs without error, ldap python module not foundBUG: "sudo port install py-ldap" runs without error, ldap python module not found

What do you mean with "had python 2.4 installed"? If you installed the python 2.4 framework from another distribution, you are in trouble. What does "port contents py-ldap" yield? Whats the md5 of "/Library/Frameworks/Python.frameworkVersions/2.4/lib/python2.4/site.py"?

comment:3 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

fixed by relying on darwinports openldap instead of Apple provided ldap

Note: See TracTickets for help on using tickets.