Hello,
I'm begining to migrate to openldap 2.5.7 So I did compile from source. I have had one difficulty while configuring : while running ./configure '--enable-overlays' '--enable-crypt' '--with-tls' '--enable-backends' '--with-cyrus-sasl' '--disable-ndb' '--enable-modules' I did got the following error :
checking for WT... no configure: error: in `/home/sgoudal/openldap-2.5.7': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.
Alternatively, you may set the environment variables WT_CFLAGS and WT_LIBS to avoid the need to call pkg-config.checking for WT... no configure: error: in `/home/sgoudal/openldap-2.5.7': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.
Alternatively, you may set the environment variables WT_CFLAGS and WT_LIBS to avoid the need to call pkg-config.
It took me a while to figure out what was WT (of course google does not help). Maybe a more explicit name like... wiredtiger.. could be more informative ?
After correcting, compilation and installation went ok, but...
/usr/local/libexec/slapd -VV /usr/local/libexec/slapd: error while loading shared libraries: libldap-2.5.so.0: cannot open shared object file: No such file or directory
The library file is well located in /usr/local/lib adding LD_LIBRARY_PATH before running slapd correct the problem, (or CFLAGS=-L/usr/local/lib before ./configure) But it would be nice that it work out of the box.. or maybe I have missed something.