[Samba] Samba and --with-ldapsam on FreeBSD

Gerald (Jerry) Carter jerry at samba.org
Fri Sep 6 13:16:00 GMT 2002


On Fri, 6 Sep 2002 rus_ugleg at sakhalinsvyaz.ru wrote:

> Hello all.
> 
> I have samba 2.2.5 on FreeBSD 4.4.
> I have installed the following patches on samba:
> 
> Makefile.in.patch
> ldap_start_tls.patch
> samba-2.2.5-printing.patch
> 
> When I compile --with-ldapsam I have this error:
> # ...
> # Using LIBS = -lcups -lssl -lcrypto -lcrypt -lpam -lpopt
> # Linking bin/smbd
> # *** Error code 1
> # /usr/libexec/elf/ld: cannot find -lresolv
> #
> # Stop in /root/work/src/other/samba-2.2.5/source.
> 
> I NOT FOUND lresolv ON FreeBSD!
> Please help.

Edit the Makefile and remove the -lresolv line.  This is a bug in the 
configure script.




cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--




More information about the samba mailing list