From owner-freebsd-questions@FreeBSD.ORG Thu Jan 25 05:00:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E36916A400 for ; Thu, 25 Jan 2007 05:00:46 +0000 (UTC) (envelope-from joe@joe-lewis.com) Received: from onyx.sharktooth.org (166-70-186-42.ip.xmission.com [166.70.186.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6686413C455 for ; Thu, 25 Jan 2007 05:00:46 +0000 (UTC) (envelope-from joe@joe-lewis.com) Received: from ut85-157.dsl.relia.net ([207.173.157.85] helo=[192.168.1.100]) by onyx.sharktooth.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1H9wF0-0004gd-PP for freebsd-questions@freebsd.org; Wed, 24 Jan 2007 21:29:46 -0700 Message-ID: <45B8328D.90507@joe-lewis.com> Date: Wed, 24 Jan 2007 21:31:09 -0700 From: joe User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 207.173.157.85 X-SA-Exim-Mail-From: joe@joe-lewis.com X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on onyx.sharktooth.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.7 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on onyx.sharktooth.org) Subject: FreeRADIUS failing to build the rlm_eap_tls modules 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, 25 Jan 2007 05:00:46 -0000 Hello, folks! (Thanks SO much David Wood! I owe you!) I already have the solution, as assisted by the port maintainer (David). However, I'm posting to this list to get the solution into the archives so that if anyone else runs into this situation, there IS something in the archives on it. Situation: I had a 5.1-RELEASE server that was upgraded to a 5.3-RELEASE, and then to 6.2-RELEASE this past weekend (and also used cvsup to update the ports collection). At that point, I tried installing a new port (not an upgrade) of FreeRADIUS 1.1.4. The port successfully built, and started. But when I tried to configure and use EAP-TLS, I got errors about the rlm_eap_tls.so extension not being found. I rebuilt the port by patching the source by hand, and running the configure line from the config.log file. In the process of the ./configure script, there were many lines such as : configure: WARNING: silently not building rlm_eap_peap. configure: WARNING: FAILURE: rlm_eap_peap requires: OpenSSL. and configure: WARNING: silently not building rlm_eap_tls. configure: WARNING: FAILURE: rlm_eap_tls requires: OpenSSL. That obviously is going to not compile the extensions that I needed. As per the maintainer's suggestion, I ran a portsnap, which brought the port revision to 1.1.4_1 for FreeRADIUS. This exhibited the same situation. Solution: I ended up removing the openssl-0.9.7d package (I don't know if it was from the 5.1 or 5.3 systems as a carry over), and installing the security/openssl port. At that point, the FreeRADIUS package built perfectly fine. Notes: If anyone finds that the rlm_eap_?tls or rlm_eap_peap modules are not building, make sure your OpenSSL port is up-to-date! Joe