Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 11:22:40 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        ports@freebsd.org
Subject:   Unable to configure dirmngr after libksba upgrade
Message-ID:  <20110328182240.7615B1CC0C@ptavv.es.net>

next in thread | raw e-mail | index | archive | help
After I upgraded libksba to 1.2.0, I attempted to re-build dirmngr, but
all of my systems are failing due to failing to detect LDAP.

checking whether LDAP via "-lldap" is present and sane... no
checking whether LDAP via "-lldap -llber" is present and sane... no
checking whether LDAP via "-lldap -llber -lresolv" is present and sane... no
checking whether LDAP via "-lwldap32" is present and sane... no
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking return type of signal handlers... void
checking whether sys_siglist is declared... yes
checking for byte typedef... no
checking for ushort typedef... yes
checking for ulong typedef... no
checking for struct sigaction... yes
checking for sigset_t... yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking if mkdir takes one argument... no
checking for memicmp... no
checking for stpcpy... yes
checking for strsep... yes
checking for strlwr... no
checking for strtoul... yes
checking for memmove... yes
checking for stricmp... no
checking for strtol... yes
checking for memrchr... yes
checking for isascii... yes
checking for timegm... yes
checking for getrusage... yes
checking for setrlimit... yes
checking for stat... yes
checking for setlocale... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for funopen... yes
checking for fopencookie... no
checking for gmtime_r... yes
checking for getaddrinfo... yes
checking for strtoull... yes
checking for mmap... yes
checking for canonicalize_file_name... no
configure:
***
*** You need a LDAP library to build this program.
*** Check out
***    http://www.openldap.org
*** for a suitable implementation.
***
configure: error: 
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
===>  Script "configure" failed unexpectedly.
Please report the problem to umq@ueo.co.jp [maintainer] and attach the
"/usr/ports/security/dirmngr/work/dirmngr-1.1.0/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/security/dirmngr.
*** Error code 1

I certainly do have openldap-client installed. I even re-installed it,
just to make sure nothing had been stepped on. I have libldap and
liblber in /usr/local/lib/

The first two attempts fail with:
/usr/local/lib/libldap.so: undefined reference to `fetchGetURL'

Any idea what may be going wrong?
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751



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