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

Re: Can't build bdb as module



You didn't mention what version of OpenLDAP you're building. This problem was already reported as ITS#3428, fixed in release 2.2.21. The current release is 2.2.23, you should upgrade.

Matthijs wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthijs wrote:
| Hi,
|
| Is it possible to build bdb as a module instead of static ? I'm using
| now this configure rule but it doesn't seem to work. After the make
| install there is no back-bdb.{la,a,so} file. Every other module is build
| as module and i can find those files back in
| /opt/ldap/libexec/openldap/)



It seems that it changes here: configure.in:

if test $ol_enable_bdb = yes -a $ol_link_ldbm != berkeley ; then
~        AC_MSG_ERROR(BDB: BerkeleyDB not available)
elif test $ol_enable_bdb != no -a $ol_link_ldbm = berkeley ; then
~        OL_BDB_COMPAT

~        if test $ol_cv_bdb_compat = yes ; then
~                ol_enable_bdb=yes # <- here it's set to yes
~        elif test $ol_enable_bdb = yes ; then
~                AC_MSG_ERROR(BDB: BerkeleyDB version incompatible)
~        else
~                ol_enable_bdb=no
~        fi
fi

Then ol_enable_bdb is set to yes and i think that's why it's build static.

Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB95X22n1ROIkXqbARAr6AAJwLBT9z1TdKV3KzPWXrlo7c5SHK9gCgrVgX
8IKAA3ofvC5D/MiUNg4G6LE=
=3+vo
-----END PGP SIGNATURE-----




--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support