Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2006 20:43:51 +0200 (CEST)
From:      Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To:        Per olof Ljungmark <peo@intersonic.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: postfix with OpenLDAP 2.3
Message-ID:  <20060427203545.F52948@hades.admin.frm2>
In-Reply-To: <4450F96E.5020601@intersonic.se>
References:  <444FFC8F.90402@intersonic.se> <445093B1.6050008@univ-tours.fr> <4450F96E.5020601@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Thu, 27 Apr 2006, Per olof Ljungmark wrote:

>>> openldap-server-2.3.21
>>> 
>>> How can I make postfix build with this version of OpenLDAP? It wants 
>>> 2.2...
>>> 
>>> Thanks
>> 
>> Have a try with WANT_OPENLDAP_VER=23 instead of WITH_OPENLDAP_VER=2.3.21
>
> Thank you, that worked fine!
> Now I have the same issue with php5-extensions that also wants the 2.2.7 ldap 
> libraries from openldap22. I cant find a switch here unfortunately.

It's the same thing as for postfix. WANT_OPENLDAP_VER=23 is your friend.
The OpenLDAP version decision is made by Mk/bsd.port.mk if the port uses 
USE_OPENLDAP=yes like it is in lang/php5/Makefile.ext which is actually 
the dependency handler of lang/php5-extensions.
The default OpenLDAP version is set by Mk/bsd.port.mk and currently it is 
WANT_OPENLDAP_VER?=22 .
I'm currently investigating how many ports will break when we change the 
system wide default of WANT_OPENLDAP_VER from "22" to "23". If anything 
runs fine, we will probably have "23" as default soon.

You should add "WANT_OPENLDAP_VER=23" to your /etc/make.conf to get rid of 
this problem, otherwise you will hit the same problem again for every 
OpenLDAP dependent port.

Regards
Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEURDpSPOsGF+KA+MRAlBwAJ9C4CvPzf+VMxA9CuumtggCggUX8gCfXVPZ
BxuvdENnUCPHDqkJEXMAcmQ=
=o7Jq
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060427203545.F52948>