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

Re: Compiling BerkeleyDB 4.3.27 against OpenLDAP 2.2.23 statically



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

Mavric Domen ITWEN5 wrote:
> Hi,
> 
>  
> 
> I'm kind of new in OpenLDAP software compiling and general linux compiling.
> 
>  
> 
> Can anyone tell me how to compile OpenLDAP 2.2.23 with BerkeleyDB
> libraries statically,

I don't really know if this is wise (see below).

> so I don't have to install BerkeleyDB software on the machine where I
> want to install my OpenLDAP deployment (distribution).
> 
> I'd simply like to build a OpenLDAP package on one machine (with DB
> libraries), and install it on another machine without
> 
> taking care of compiling BerkeleyDB on this machine.

There is no reason your OpenLDAP package cannot contain dynamic
libraries for Berkeley DB.

In fact, there is no reason your OpenLDAP package cannot contain the
Berkeley DB utilities for the Berkeley DB you built OpenLDAP against,
and it is actually adviseable to do so.

If you were to only ship the statically linked OpenLDAP binaries, you
would have no way of running database recovery (and, other admins might
need to spend some time finding the Berkeley DB utilities if you did not
provide them).

> I'm using BDB database.

What may be useful to know is which Linux distribution you are using.

BTW, you probably don't want to use db-4.3.x yet.

Regards,
Buchan

- --
Buchan Milne                      Senior Support Technician
Obsidian Systems                  http://www.obsidian.co.za
B.Eng                                RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCOqJarJK6UGDSBKcRAvnxAKC8Kd7EbnrUDlCfsDC1wePwEweGbACfcLiQ
nQFD+uMUgh2y3UlY0kbgYjg=
=3wSI
-----END PGP SIGNATURE-----