I have answered you yesterday. PCRE build doesn't produce libraries required by OpenLDAP configure script. OpenLDAP requires libregex.a or libgnuregex.a but PCRE builds to libpcre.a libpcreposix.a and libpcrecpp.a. If you successfully built OpenLDAP than you linked it to another regex library, not PCRE.
I have solved the problem by adding LIBS=-lpcre to configure script.
On Wed, Nov 28, 2012 at 4:01 PM, Sergio NNX sfhacker@hotmail.com wrote:
I mentioned my steps in a previous email. Did you receive it?
Yes, I did. I have a question for you. What was the output of your PCRE build? Which static libraries did it produce? I think there may be difference between the distro libraries I am using and custom PCRE build.
Any news Anton? You can build static or shared or both PCRE libraries. As long as OpenLDAP can find the header and lib files, it should be ok! I tested it yesterday and no problem at all.
openldap-technical@openldap.org