From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 18:44:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4109516A405 for ; Thu, 27 Apr 2006 18:44:04 +0000 (UTC) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ADEF43D46 for ; Thu, 27 Apr 2006 18:44:00 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from localhost (mailhost.frm2.tum.de [129.187.179.12]) by mailhost.frm2.tum.de (8.13.4/8.13.4) with ESMTP id k3RIhtFn056265; Thu, 27 Apr 2006 20:43:55 +0200 (CEST) (envelope-from jpulz@frm2.tum.de) X-Virus-Scanned: at mailhost.frm2.tum.de Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.13.4/8.13.4) with ESMTP id k3RIhr8v056261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 27 Apr 2006 20:43:53 +0200 (CEST) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.13.4/8.13.4) with ESMTP id k3RIhrdk029954; Thu, 27 Apr 2006 20:43:53 +0200 (CEST) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.13.4/8.13.4/Submit) id k3RIhr3j029953; Thu, 27 Apr 2006 20:43:53 +0200 (CEST) (envelope-from jpulz) Date: Thu, 27 Apr 2006 20:43:51 +0200 (CEST) From: Joerg Pulz To: Per olof Ljungmark In-Reply-To: <4450F96E.5020601@intersonic.se> Message-ID: <20060427203545.F52948@hades.admin.frm2> References: <444FFC8F.90402@intersonic.se> <445093B1.6050008@univ-tours.fr> <4450F96E.5020601@intersonic.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: postfix with OpenLDAP 2.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:44:04 -0000 -----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-----