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

Re: Can't build bdb as module



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

Ah yes that's true:
I have version 2.2.20

Well that patch fixes the problem.

Matthijs Mohlmann

Howard Chu wrote:
| 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:
|
| 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

iD8DBQFB+CDh2n1ROIkXqbARAmgzAJ9Z2eXLWgGzkFRaAqYXLi8AevA+ewCeP0/6
pvpHqBkN/sv8SKIGB/j3wUc=
=nmpD
-----END PGP SIGNATURE-----