[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 1.2.13 does not build on RH7.2 (ITS#1446)

charlie@jumpleads.com writes:

> Seems to be a problem building LDBM files servers/slapd/back-ldbm/dn2id.c and
> libraris/libldbm.ldbm.c - looks like the file db_185.h has moved from
> /usr/local/include/

I think you are mistaken, if that was in /usr/local/include, then it
was not installed from RPMS, but some local install.

> to /usr/local/include/db3/ for RH7.2, so several externals

It is now at /usr/include/db2/, at /usr/include/db3/ or at both
depending on the packages you have installed.

No matter what, you have to link with -ldb2 or -ldb3 depending on what
header you chose.

You are probably using inconsistent options to configure.  I suggest
you download the source RPM for openldap12 (that is included in 7.2
though everything save the shared libraries is discarded after
compilation), to see how it is built by RedHat.

Hope this helps,


P.S.  Try to provide more info next time, such as what external
symbols are not found, your configure options, etc.