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

djamil essaissi djamil at serveur-express.com
Fri Feb 22 04:18:04 GMT 2002


u need to install libresolv and/or configure it on ur system
i dont know much about BSD ... but i hope this helps

On Fri, 2002-02-22 at 12:56, Mr John wrote:
> 
> 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
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
-- 




More information about the samba mailing list