Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2011 16:46:44 -0400
From:      Jim Trigg <jtrigg@spamcop.net>
To:        freebsd-ports-mailinglist <freebsd-ports@freebsd.org>
Subject:   Problem using devel/apr1 with OpenLDAP 2.4.25_1
Message-ID:  <AANLkTikaASj_ooEbioZLB-d%2BA2mPpFAG55spc3O32gb-@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm having a problem which affects my web server quite strongly.  I
upgraded openldap24-client to 2.4.25_1, and now can neither run nor
rebuild devel/apr1 (which blocks apache and squirrelmail).  The make
in /usr/ports/devel/apr1 reports (cut down to just what looks like it
might be applicable):

===>   apr-ipv6-devrandom-gdbm-db42-ldap24-mysql51-1.4.2.1.3.10
depends on shared library: ldap-2.4.8 - found
build/apu-conf.m4:215: APU_FIND_LDAP is expanded from...
configure.in:152: the top level
cd /usr/ports/devel/apr1/work/apr-util-1.3.10;  /usr/bin/env CC="cc"
LIBS="" PYTHON="/usr/local/bin/python2.6" SHELL=/bin/sh
CONFIG_SHELL=/bin/sh AUTOMAKE=/usr/local/bin/automake-1.11
AUTOMAKE_DIR=/usr/local/share/automake-1.11  AUTOMAKE_VERSION=1.11
AUTOMAKE_APIVER=1.11.1  ACLOCAL=/usr/local/bin/aclocal-1.11
ACLOCAL_DIR=/usr/local/share/aclocal-1.11
AUTOCONF=/usr/local/bin/autoconf-2.68
AUTOCONF_DIR=/usr/local/share/autoconf-2.68
AUTOHEADER=/usr/local/bin/autoheader-2.68
AUTOIFNAMES=/usr/local/bin/ifnames-2.68
AUTOM4TE=/usr/local/bin/autom4te-2.68
AUTORECONF=/usr/local/bin/autoreconf-2.68
AUTOSCAN=/usr/local/bin/autoscan-2.68
AUTOUPDATE=/usr/local/bin/autoupdate-2.68  AUTOCONF_VERSION=2.68
LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize
LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool
LIBTOOL_SHAREDIR=/usr/local/share/libtool
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4
LTMAIN=/usr/local/share/libtool/config/ltmain.sh
lt_cv_sys_max_cmd_len=262144 CFLAGS="-O2 -pipe -I/usr/local/include
-I/usr/local/include/mysql -DHAVE_MYSQL_H -DLDAP_DEPRECATED
-fno-strict-aliasing" /bin/sh  ./configure --prefix=/usr/local
${_LATE_CONFIGURE_ARGS}
--with-apr=/usr/ports/devel/apr1/work/apr-1.4.2
--with-expat=/usr/local  --with-iconv=/usr/local
--with-gdbm=/usr/local
--with-berkeley-db=/usr/local/include/db42:/usr/local/lib/db42
--without-ndbm --with-ldap-include=/usr/local/include
--with-ldap-lib=/usr/local/lib --with-ldap=ldap
--with-mysql=/usr/local --without-pgsql --without-sqlite3
checking for ldap support...
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... no
checking for ldap_init in -lldap... no
configure: error: could not find an LDAP library

Any suggestions?

Thanks,
Jim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikaASj_ooEbioZLB-d%2BA2mPpFAG55spc3O32gb->