Sorry, I was wrong. There is a file "lber.h" on the system (/usr/local/include/lber.h) But the installer doesn't seem to know where to find it. So the question remains.
-- Maksim Rodin 27.08.2018, 11:52, "Stuart Henderson" <s...@spacehopper.org>: > On 2018-08-27, Максим <a23s4a2...@yandex.ru> wrote: >> Hello. >> I'm trying to install some django components, which >> require development libraries be installed on the system to >> successfully compile. >> If it goes about Ubuntu I understand that I have to install >> something like "packet-dev" with the command >> "sudo apt install packet-dev" >> What are my steps to make something equal on OpenBSD (6.3/amd64)? >> I suppose I should begin with fetching the ports tree. >> But what else? How do I make install script find the dev-libraries needed? >> >> In my case I'm trying to install django-ldap-auth using pip. >> When the installer begins to compile he complains that it cannot find some >> files: >> "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" > > Specifically for this: pkg_add openldap-client > > In general: pkg_add pkglocatedb and use the pkg_locate command.