From owner-freebsd-questions@FreeBSD.ORG Wed May 18 03:25:25 2005 Return-Path: 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 F255016A4CE for ; Wed, 18 May 2005 03:25:25 +0000 (GMT) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 987C243D64 for ; Wed, 18 May 2005 03:25:21 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.12.11/8.12.11) with ESMTP id j4I3PBxp020827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 May 2005 10:25:11 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.1/8.12.11) id j4I3P5RZ062791; Wed, 18 May 2005 10:25:05 +0700 (ICT) Date: Wed, 18 May 2005 10:25:05 +0700 (ICT) Message-Id: <200505180325.j4I3P5RZ062791@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Apache libraries/modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 03:25:26 -0000 Hi, I am running Apache/moddssl/php a 5.3 RELENG server. I build the distribution by hand from the source: everything installed in /usr/local/apache For simplicity/compatibility/upgradability, I want to switch to the ports. But when I try to run the new apache, it always looks for the modules in /usr/local/apache/libexec/apache instead of the expected /usr/local/libexec/apache I build apache13-modssl with: # nice make WITH_APACHE_SUEXEC=yes APACHE_SUEXEC_CALLER=httpd APACHE_SUEXEC_DOCROOT=/usr/local/apache/sites APACHE_SUEXEC_UIDMIN=80 APACHE_SUEXEC_GIDMIN=30 PREFIX=/usr/local PORTDIR=/usr/local No problem so far, then I try to: # work/apache_1.3.33/src/httpd -t -DSSL Syntax error on line 38 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/apache/libexec/apache/mod_mmap_static.so into server: Cannot open "/usr/local/apache/libexec/apache/mod_mmap_static.so" # ls /usr/local/libexec/apache httpd.exp mod_cgi.so mod_mime_magic.so libphp4.so mod_define.so mod_mmap_static.so libproxy.so mod_digest.so mod_negotiation.so [...] I beleive it is something with the order of the libraries but I don't know where to go from here. TIA Olivier