Skip to content

python setup.py build fails on OpenBSD #273

Open
@kwatsen

Description

@kwatsen

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:

In file included from Modules/LDAPObject.c:8:
Modules/constants.h:7:10: fatal error: 'lber.h' file not found
#include "lber.h"
         ^~~~~~~~
1 error generated.
error: command 'cc' failed with exit status 1

Steps to reproduce:

# pkg_add openldap-client   (this creates /usr/local/include/lber.h)
# python setup.py build

Operating system: OpenBSD 6.4 (the latest)
Python version: any, but I was using 2.7 at the time
python-ldap version: 3.2.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions