On Tue, May 24, 2005, 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, 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?

No, it's ok as it is similar to the already existing change for DB 4.2.
We just forgot to adjust this patching once DB 4.3 came out.
Now taken over: http://cvs.openpkg.org/chngview?cn=23558
Thanks for your contribution.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [email protected]

Reply via email to