Error Api OpenLdap

Eder ederbs.hackers at
Sun Jul 16 22:35:46 UTC 2006

Hi all,

I am having problems to use the API of ldap simply when I compile the code
says that the archive does not exist.

#include <ldap.h>
int main(void)

% cc test.c
test.c:2:18: ldap.h: No such file or directory

Being that the archive is in include.

% cat /usr/local/include/ldap.h

Somebody knows what it can be !

Ederson de Moura
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

More information about the freebsd-hackers mailing list