In the last episode (Jul 16), Eder said: > 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
You want "cc -I/usr/local/include test.c", and if you intend on linking to the library, you will also need to add "-L/usr/local/lib -lldap". -- Dan Nelson [EMAIL PROTECTED] _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"