From owner-freebsd-questions Thu Mar 13 5:29: 8 2003 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 D2D4337B401 for ; Thu, 13 Mar 2003 05:29:05 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29B8743FBF for ; Thu, 13 Mar 2003 05:29:04 -0800 (PST) (envelope-from barner@in.tum.de) Received: from mailrelay1.informatik.tu-muenchen.de (mailrelay1.informatik.tu-muenchen.de [131.159.254.5]) by mailout.informatik.tu-muenchen.de (Postfix) with ESMTP id 5E2A66252 for ; Thu, 13 Mar 2003 14:29:03 +0100 (MET) Received: from mail.informatik.tu-muenchen.de (mail.informatik.tu-muenchen.de [131.159.0.26]) by mailrelay1.informatik.tu-muenchen.de (Postfix) with ESMTP id 4FD8C7943 for ; Thu, 13 Mar 2003 14:29:03 +0100 (MET) Received: from zi025.glhnet.mhn.de (unknown [129.187.19.157]) by mail.informatik.tu-muenchen.de (Postfix) with ESMTP id 4108C6CC1F for ; Thu, 13 Mar 2003 14:29:03 +0100 (MET) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id CC67136A95; Thu, 13 Mar 2003 14:30:59 +0100 (CET) Date: Thu, 13 Mar 2003 14:30:59 +0100 From: Simon Barner To: freebsd-questions@freebsd.org Subject: Re: Postfix 2.0.6 port without Kerberos DES linking? Message-ID: <20030313133059.GA666@zi025.glhnet.mhn.de> References: <20030313112233.GB44585@twisted.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20030313112233.GB44585@twisted.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Description: Digitally signed message Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > I'm running fbsd 4.8RC and trying to build postfix 2.0.6 and running > into a kerberos issue. I want to build postfix with cyrus-sasl2, TLS, > PCRE, and DB3 support. No matter what I do, if I enable cyrus-sasl2 > during the postfix build process, I receive the errors below. I don't use > kerberos and don't want it to try and link to the des libraries. I am > able to build the postfix 1.1.11-20021115 build without any problems. > It appears that sasl2 and TLS will not work using postfix 1.1.11. >=20 > Any help would be greatly appreciated. I had exactly the same problem. I have two solutions for it: 1. Remove the Kerberos libraries in /usr/lib. It seems that they have used to be built by default, but have to be explicitly enabled now in /etc/make.conf. (the kerberos libs on my system were half a year old, although i built my world yesterday. MAKE_KERBEROS4 (bool) Set this to build KerberosIV (KTH eBones). MAKE_KERBEROS5 (bool) Set this to build Kerberos5 (KTH Heimdal). WARNI= NG! This is still experimental code. If you need stable Ker- beros5, use the port(s). 2. If you do not want to delete something from your system, you can add this here to the ports Makefile, which will link the missing des* symbols in: POSTFIX_AUXLIBS+=3D -L${LOCALBASE}/lib -lcrypto or POSTFIX_AUXLIBS+=3D -L${LOCALBASE}/lib -ldes As far as I have understood the postfix port checks whether you have the kerberos libraries, and uses them if they are present (i.e. it assumes that= no outdated versions of these libs are lingering around. HTH, Simon =20 Btw.: If you want to use sasl 1, you probably will need this patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/48731 (perhaps it is dispensable if you delete the kerberos stuff. --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+cIgTCkn+/eutqCoRAgPfAJ48ne7wg0pM29IrJ15aHjfJyOS4AACfRj3E zd9hlolNeETWUeC2fIa61nU= =iSIV -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message