-
Notifications
You must be signed in to change notification settings - Fork 126
ImportError on MacOS 10.15.5 #359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
I am using the MacOS system |
macOS system libldap 2.4.28 does not have ldap_init_fd symbol. Disable initialize_fd when Apple libldap 2.4.28 is detected. Also run some macOS tests on Travis CI. Since the SDK does not ship slapd, testing is rather limited. Fixes: python-ldap#359 Signed-off-by: Christian Heimes <cheimes@redhat.com>
macOS system libldap 2.4.28 does not have ldap_init_fd symbol. Disable initialize_fd when Apple libldap 2.4.28 is detected. Also run some macOS tests on Travis CI. Since the SDK does not ship slapd, testing is rather limited. Fixes: python-ldap#359 Signed-off-by: Christian Heimes <cheimes@redhat.com>
until merge, using |
I recommend to use |
macOS system libldap 2.4.28 does not have ldap_init_fd symbol. Disable initialize_fd when Apple libldap 2.4.28 is detected. Also run some macOS tests on Travis CI. Since the SDK does not ship slapd, testing is rather limited. Fixes: python-ldap#359 Signed-off-by: Christian Heimes <cheimes@redhat.com>
macOS system libldap 2.4.28 does not have ldap_init_fd symbol. Disable initialize_fd when Apple libldap 2.4.28 is detected. Also run some macOS tests on Travis CI. Since the SDK does not ship slapd, testing is rather limited. Fixes: python-ldap#359 Signed-off-by: Christian Heimes <cheimes@redhat.com>
macOS system libldap 2.4.28 does not have ldap_init_fd symbol. Disable initialize_fd when Apple libldap 2.4.28 is detected. Also run some macOS tests on Travis CI. Since the SDK does not ship slapd, testing is rather limited. Fixes: python-ldap#359 Signed-off-by: Christian Heimes <cheimes@redhat.com>
Fix macOS SDK builds without ldap_init_fd macOS system libldap 2.4.28 does not have ldap_init_fd symbol. Disable initialize_fd when Apple libldap 2.4.28 is detected. Also run some macOS tests on Travis CI. Since the SDK does not ship slapd, testing is rather limited. #360 Fixes: #359 Signed-off-by: Christian Heimes <cheimes@redhat.com>
This should be fixed in the fresh python-ldap 3.3.1. |
Even though this should be fixed, I run into the same error on my MBP with Big Sur and homebrew LDAP libs (2.5.8):
|
This is still an issue for Tried with both python-ldap version
python-ldap was installed using
|
Are you sure you're linking against your own libldap? To me it looks like you're still linking against the system version at runtime (no rpath). You should be able to use |
I think that's why I include
When I don't include these while installing However, I could be misunderstanding something.
Edit: |
Any luck on that? |
If you found a bug in python-ldap, or would request a new feature,
this is the place to let us know.
Please describe the issue and your environment here.
Issue description:
After installing python-ldap 3.3.0 on my iMac, it raises an
ImportError
whenever I try to import it.Steps to reproduce:
Output:
Operating system: MacOS 10.15.5 (Catalina)
Python version: CPython 3.7.7 (installed with Homebrew)
python-ldap version: 3.3.0
The text was updated successfully, but these errors were encountered: