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

Jeffrey D. Means meaje at picotech.net
Sat Feb 23 15:08:04 GMT 2002


Try copying the libs from /usr/local/lib /usr/lib.  OpenLDAP puts it's
lib files in /usr/local/lib and as such samba dosen't know where to find
them.

-------------
Jeffrey D. Means
CIO for PicoTech
Ft. Collins, Colorado

-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]
On Behalf Of djamil essaissi
Sent: Friday, February 22, 2002 5:13 AM
To: Mr John
Cc: samba at lists.samba.org
Subject: Re: [Samba] /usr/libexec/elf/ld: cannot find -lresolv

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
> 
-- 

-- 
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