From owner-svn-ports-all@FreeBSD.ORG Fri Jul 11 20:35:43 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9F28BA2; Fri, 11 Jul 2014 20:35:43 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43F4A23CE; Fri, 11 Jul 2014 20:35:42 +0000 (UTC) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LrePN-1WRNXO1ZpF-013Qh8; Fri, 11 Jul 2014 22:35:35 +0200 Message-ID: <53C04A97.7000409@gmx.de> Date: Fri, 11 Jul 2014 22:35:35 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Mathieu Arnold Subject: Re: svn commit: r361294 - in head/www/apache22: . files References: <201407082131.s68LVnVj008783@svn.freebsd.org> <8612910DC9EAD4272CAA72D9@atuin.in.mat.cc> In-Reply-To: <8612910DC9EAD4272CAA72D9@atuin.in.mat.cc> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:NDbxRVgRNqId1RbnVu93zusFdnjvk5o8WerkR7MS6GBpkfIv9uc IDy7JzRA68JZh1yLVzXYgHXjvxltPG4fEsvRrW2I/SkSxfbbFqFFvaEUaMVruWgNpQbWPzs CakILV32dsDkKStSOCNuOY4xjTjkaThNZdjQRGoo3htGiiXKBfu8xcjVViajNcC119Xz8Kq 3nrS+VOUoaSy8ltB75aSQ== Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2014 20:35:43 -0000 On 2014-07-11 09:14, Mathieu Arnold wrote: > > > +--On 8 juillet 2014 21:31:49 +0000 Olli Hauer wrote: > | Author: ohauer > | Date: Tue Jul 8 21:31:49 2014 > | New Revision: 361294 > | URL: http://svnweb.freebsd.org/changeset/ports/361294 > | QAT: https://qat.redports.org/buildarchive/r361294/ > | > | Log: > | - strip files > | - sort pkg-plist > | - always install DOCS (remove Makefile hack) > | - reflect modules.d in EXAMPLESDIR, next target > | will be a new keyword for pkg-plist to handle > | module installation. > | - bump PORTREVISION > | > | - add warning about default version change (2014-07-11) > | (pkg-message, files/HEADS_UP) > > After this, when I try to start apache, I get: > > httpd: Syntax error on line 97 of /usr/local/etc/apache22/httpd.conf: > Cannot load /usr/local/libexec/apache22/mod_ssl.so into server: > /usr/local/libexec/apache22/mod_ssl.so: Undefined symbol > "TLSv1_2_server_method" > > # ldd /usr/local/libexec/apache22/mod_ssl.so > /usr/local/libexec/apache22/mod_ssl.so: > libssl.so.6 => /usr/lib/libssl.so.6 (0x801231000) > libcrypto.so.6 => /lib/libcrypto.so.6 (0x801487000) > libcrypt.so.5 => /lib/libcrypt.so.5 (0x80182f000) > libthr.so.3 => /lib/libthr.so.3 (0x801a4e000) > libc.so.7 => /lib/libc.so.7 (0x80081b000) > > It works if I put this: > > [/usr/local/libexec/apache22/mod_ssl.so] > libssl.so.6 libssl.so.8 > libcrypto.so.6 libcrypto.so.8 > > in my libmap.conf, apache is built with openssl from ports (I have > WITH_OPENSSL_PORT=yes in my make.conf), but it ends up linked with OpenSSL > from base. Maybe the stripping is a bad thing. That's strange, I don't think this is an issue of the the strip command. What ist the output of the following commands # devel/apr $ ldd /usr/local/lib/apr-util-1/apr_crypto_openssl.so # www/apache22 buid and stage directory $ ldd work/httpd-2.2.27/modules/ssl/.libs/mod_ssl.so $ ldd work/stage/usr/local/libexec/apache22/mod_ssl.so