Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 20877 invoked from network); 30 Nov 2005 10:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 10:05:46 -0000 Received: (qmail 16561 invoked by uid 500); 30 Nov 2005 10:05:45 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 15746 invoked by uid 500); 30 Nov 2005 10:05:42 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 15731 invoked by uid 99); 30 Nov 2005 10:05:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2005 02:05:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.155.47.44] (HELO netspinner.co.uk) (217.155.47.44) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Nov 2005 02:07:11 -0800 Received: (qmail 20648 invoked from network); 30 Nov 2005 09:52:26 -0000 Received: from pc-00002 (HELO [192.168.0.2]) (192.168.0.2) by server.netspinner.co.uk (192.168.0.5) with ESMTP; 30 Nov 2005 09:52:26 -0000 Message-ID: <438D795F.10109@netspinner.co.uk> Date: Wed, 30 Nov 2005 10:05:19 +0000 From: Stephen Collyer Reply-To: scollyer@netspinner.co.uk User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Problem building httpd 2.0.55 with openssl 0.9.8a Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [Aside - I posted a similar query to the users list and got a couple of suggestions but no solution, so I'm reposting here] In brief: I'm trying to build http 2.0.55 against openssl 0.9.8a. I've built (but not installed) a local copy of openssl, with shared libraries. I've built http like this: > cd httpd-2.0.55/ > > ./configure \ > --prefix=/usr/local/apache2-ssl \ > --with-ssl=/home/stephen/apache/openssl-0.9.8a \ > --enable-mods-shared=all \ > --enable-ssl > > make > make install i.e. with an attempt to link it against the openssl libs in the indicated directory. httpd build and installs fine, but when I try to start it I get this: >> root@alpha $ bin/apachectl startssl >> Syntax error on line 251 of /usr/local/apache2-ssl/conf/httpd.conf: >> Cannot load /usr/local/apache2-ssl/modules/mod_ssl.so into server: > >>/usr/local/apache2-ssl/modules/mod_ssl.so: undefined symbol: X509_STORE_CTX_set_depth and ldd shows that bin/httpd is linking against openssl 0.9.7 in /usr/lib: > root@alpha $ ldd bin/httpd > linux-gate.so.1 => (0xffffe000) > libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40018000) > libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40048000) > ... However, I'm baffled as to how I can get it to link against my local openssl-0.9.8a libraries, if not with --with-ssl. Any suggestions ? -- Regards Stephen Collyer Netspinner Ltd