Date: Thu, 27 Apr 2006 20:52:33 +0200 From: Per olof Ljungmark <peo@intersonic.se> To: Joerg Pulz <Joerg.Pulz@frm2.tum.de> Cc: freebsd-questions@freebsd.org Subject: Re: postfix with OpenLDAP 2.3 Message-ID: <445112F1.6050304@intersonic.se> In-Reply-To: <20060427203545.F52948@hades.admin.frm2> References: <444FFC8F.90402@intersonic.se> <445093B1.6050008@univ-tours.fr> <4450F96E.5020601@intersonic.se> <20060427203545.F52948@hades.admin.frm2>
next in thread | previous in thread | raw e-mail | index | archive | help
Joerg Pulz wrote: > -----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. Thank you very much for this valuable piece of information! I must admit I've been lazy here, I could have found this out myself through RTFM. Per olof
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445112F1.6050304>