Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2006 15:19:17 -0500
From:      Jeff Dickens <jeff@seamanpaper.com>
To:        freebsd-questions@freebsd.org
Subject:   samba configure failure looking for libldap
Message-ID:  <45884945.8070103@seamanpaper.com>

next in thread | raw e-mail | index | archive | help
Here's a different samba build failure...

.
.
.

checking for LDAP support... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking lber.h usability... yes
checking lber.h presence... yes
checking for lber.h... yes
checking for ber_scanf in -llber... yes
checking for ldap_init in -lldap... no
checking for ldap_set_rebind_proc... no
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_dn2ad_canonical... no
configure: error: libldap is needed for LDAP support
===>  Script "configure" failed unexpectedly.
Please report the problem to timur@gnu.org [maintainer] and attach the
"/usr/ports/net/samba3/work/samba-3.0.23d/source/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/net/samba3.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.85198.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! net/samba3    (configure error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
plover#

plover# pkg_info | grep ldap
openldap-sasl-client-2.3.27 Open source LDAP client implementation with 
SASL2 support
openldap-server-2.3.30_1 Open source LDAP server implementation
p5-perl-ldap-0.33   A Client interface to LDAP servers
smbldap-tools-0.9.2a Useful package for managing users and groups in a 
LDAP dire
plover#

plover# find / -name 'libldap*' -print
/usr/local/lib/libldap-2.3.so
/usr/local/lib/libldap-2.3.so.2
/usr/local/lib/libldap.a
/usr/local/lib/libldap.la
/usr/local/lib/libldap.so
/usr/local/lib/libldap_r-2.3.so
/usr/local/lib/libldap_r-2.3.so.2
/usr/local/lib/libldap_r.a
/usr/local/lib/libldap_r.la
/usr/local/lib/libldap_r.so







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45884945.8070103>