Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ImportError on MacOS 10.15.5 #359

Copy link
Copy link
@OutOfFocus4

Description

@OutOfFocus4
Issue body actions

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:

cd /tmp
python3 -m venv test
source test/bin/activate
pip install -U pip setuptools
pip install python-ldap
python -c 'import ldap'

Output:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/tmp/test/lib/python3.7/site-packages/ldap/__init__.py", line 34, in <module>
    import _ldap
ImportError: dlopen(/private/tmp/test/lib/python3.7/site-packages/_ldap.cpython-37m-darwin.so, 2): Symbol not found: _ldap_init_fd
  Referenced from: /private/tmp/test/lib/python3.7/site-packages/_ldap.cpython-37m-darwin.so
  Expected in: flat namespace
 in /private/tmp/test/lib/python3.7/site-packages/_ldap.cpython-37m-darwin.so

Operating system: MacOS 10.15.5 (Catalina)

Python version: CPython 3.7.7 (installed with Homebrew)

python-ldap version: 3.3.0

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.