[Samba] /usr/libexec/elf/ld: cannot find -lresolv

Mr John friedeggsandchorizoman at hotmail.com
Fri Feb 22 04:03:13 GMT 2002


OS: FreeBSD 4.5
Samba: 2.2.3a
OpenLDAP: 2.0.21

I get the follwing error compiling samba, with ldap, winbind and pam:
--------------------------------------------------------------------------
configure:13030: cc -o conftest -O -O -pipe  -I/usr/local/include 
-L/usr/local/l
ib conftest.c -lldap -llber -lresolv -lcups  -lpam 1>&5
/usr/libexec/elf/ld: cannot find -lresolv
configure: failed program was:
#line 13026 "configure"
#include "confdefs.h"
#include "./tests/summary.c"
----------------------------------------------------------------------------

My guess is that my OpenLDAP wasn't compiled with the lresolv lib. If that 
is in fact
the problem, how do I include it? I'm not sure of the exact file, syntax or 
place
within the openldap's Makefile or configure.in (or other).

Thanks,

Feac



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com





More information about the samba mailing list