Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34F049E08 for ; Wed, 22 Feb 2012 18:22:39 +0000 (UTC) Received: (qmail 50182 invoked by uid 500); 22 Feb 2012 18:22:38 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 50119 invoked by uid 500); 22 Feb 2012 18:22:38 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 50109 invoked by uid 99); 22 Feb 2012 18:22:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 18:22:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of costin@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-tul01m020-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 18:22:32 +0000 Received: by obbup16 with SMTP id up16so483217obb.18 for ; Wed, 22 Feb 2012 10:22:11 -0800 (PST) Received-SPF: pass (google.com: domain of costin@gmail.com designates 10.182.89.7 as permitted sender) client-ip=10.182.89.7; Authentication-Results: mr.google.com; spf=pass (google.com: domain of costin@gmail.com designates 10.182.89.7 as permitted sender) smtp.mail=costin@gmail.com; dkim=pass header.i=costin@gmail.com Received: from mr.google.com ([10.182.89.7]) by 10.182.89.7 with SMTP id bk7mr3621487obb.15.1329934931239 (num_hops = 1); Wed, 22 Feb 2012 10:22:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=34EnCm9ahVoebBTwoFc7fAXMm1I5Amzu/N9/DIN+UzQ=; b=qMPd1xP4+JozF6DmcPwKmmlpgm/7bmSU57OnYjK92us8DOaGTmYmNDXMBxvakNDwgd oNh0vsxVI4ak9SgX8OhoMPfQhN5hBJl1Y8rbeefZfLUCQ8bN04iJ4XTE3b+iiMatCiqO xsGn0bAYnJMUjAJno3Xzwjc760yYU2wRw5yww= MIME-Version: 1.0 Received: by 10.182.89.7 with SMTP id bk7mr3105547obb.15.1329934931158; Wed, 22 Feb 2012 10:22:11 -0800 (PST) Received: by 10.182.231.65 with HTTP; Wed, 22 Feb 2012 10:22:11 -0800 (PST) In-Reply-To: <4F452215.4020202@apache.org> References: <4F43C691.1020009@apache.org> <4F43CEC8.9080200@christopherschultz.net> <4F43D745.7090005@apache.org> <4F4403B6.50002@kippdata.de> <4F4428E3.9000704@apache.org> <4F449534.9080405@apache.org> <4F45141E.8000201@apache.org> <4F452215.4020202@apache.org> Date: Wed, 22 Feb 2012 10:22:11 -0800 Message-ID: Subject: Re: Release Tomcat Native 1.1.23 From: Costin Manolache To: Tomcat Developers List Content-Type: multipart/alternative; boundary=f46d0447f08825678d04b9919bb0 --f46d0447f08825678d04b9919bb0 Content-Type: text/plain; charset=UTF-8 On Wed, Feb 22, 2012 at 9:12 AM, Mladen Turk wrote: > On 02/22/2012 05:47 PM, Costin Manolache wrote: > >> On Wed, Feb 22, 2012 at 8:13 AM, Mladen Turk wrote: >> >> One thing I would appreciate help with: I would like to have an option to >> statically link >> openssl and apr into the tc-native .so - I mean use openssl.a, apr.a. >> >> > You mean for unixes? > The solution would be to create stub libssl.so and libcrypto.so > so that libtcnative don't carry their SONAME and link to system so.x... > > Static linkage is not a good idea I'm afraid. > > > The reason is to avoid the system libraries which will probably have the >> wrong version. >> >> > Right. Having stubs, libtcnative will always link to libssl.so which > is usually symlink on any system. > At runtime we can check for SSL_version and fail in case it has wrong ABI. > > However, not sure why you wish to do that. Many distros already provide > tomcat-native so there's no real point for doing that, especially since > we should not distribute unix binaries. > Yes, distros provide tomcat-native, apr and openssl - with the 'stable' releases. I'm trying to provide a way for people to build "libtcnative-2.so" so it can be installed on those systems along with the existing apr, openssl and libtcnative-1, without requiring the installation of 2 versions of openssl, apr. It seems to work for me on linux ( using cmake ) - I get a tcnative.so with all the openssl/apr code linked in, without dependencies to libapr.so ( no SONAME ). So basically someone ( distros, users ) could build and deploy the new library along with the stable ones. I don't think we can require to upgrade the platform openssl or apr. The alternative would be to have the new openssl/apr .so in some /usr/local/ location. Costin > > > Regards. > > -- > ^TM > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.**org > For additional commands, e-mail: dev-help@tomcat.apache.org > > --f46d0447f08825678d04b9919bb0--