[Kolab-devel] OpenLDAP build problem

Bernhard Reiter bernhard at intevation.de
Wed May 25 19:08:28 CEST 2005


On Tuesday 24 May 2005 15:28, Steffen Hansen wrote:
> At least on SuSE-9.3 I have a problem building openldap -- it picks
> up the host system's libdb (which is /usr/lib/tls/libdb-4.3.so) instead
> of the openpkg one. This leads to all ldap tool crashing and burnings.
>
> Uninstalling db from the host system is not an option -- too much depends
> on it,

A temporary removal without dependency checks usually works,
because it is only for building the Kolab Server.


> so the only working solution I could come up with is this:
>
> --- ../openldap.orig/openldap.spec      2005-02-21 18:02:29.000000000 +0100
> +++ openldap.spec       2005-05-24 15:21:35.000000000 +0200
> @@ -90,7 +90,7 @@ AutoReqProv:  no
>      #   (2. make sure our Berkeley-DB is picked up first)
>      %{l_shtool} subst \
>          -e 's;ln -s;ln;g' \
> -        -e 's;-ldb42;-ldb;g' \
> +        -e 's;db43;db;g' \
>          -e 's;<db\.h>;"db.h";g' \
>          configure
>  %if "%{with_sasl}" == "yes"
>
> Anyone got a better idea?

It does not feel right, maybe you should ask the openpkg people for 
an idea, too?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2145 bytes
Desc: signature
URL: <http://lists.kolab.org/pipermail/devel/attachments/20050525/a815cf7f/attachment.p7s>


More information about the devel mailing list