Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 50179 invoked from network); 10 Mar 2006 17:38:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Mar 2006 17:38:16 -0000 Received: (qmail 34618 invoked by uid 500); 10 Mar 2006 17:38:14 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 34546 invoked by uid 500); 10 Mar 2006 17:38:14 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 34493 invoked by uid 99); 10 Mar 2006 17:38:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2006 09:38:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of henri.gomez@gmail.com designates 64.233.182.207 as permitted sender) Received: from [64.233.182.207] (HELO nproxy.gmail.com) (64.233.182.207) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2006 09:38:09 -0800 Received: by nproxy.gmail.com with SMTP id o60so369216nfa for ; Fri, 10 Mar 2006 09:37:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=CGbU29+s3/Bmlw4NUNVFdnnPj/+RJ8AEkwKfj+IEZQl342ebOUngJsHkcctjNdEQOEAS1093tu0zrv6zyyJwTE/U9wx5VQQPo8XOJfhLLRi9sZfJ28rlpcLIHugSnPzvOzzGASt4/DfFjCvN+yCzFQt4ZcAP6uMVN0U2PNiD6oY= Received: by 10.49.94.18 with SMTP id w18mr1520188nfl; Fri, 10 Mar 2006 09:37:21 -0800 (PST) Received: by 10.49.5.10 with HTTP; Fri, 10 Mar 2006 09:37:20 -0800 (PST) Message-ID: <6291fc850603100937y73866a18j@mail.gmail.com> Date: Fri, 10 Mar 2006 18:37:21 +0100 From: "Henri Gomez" To: dev@apr.apache.org Subject: Re: apr-config and static link In-Reply-To: <4411AD35.1010004@rowe-clan.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_401_597860.1142012241007" References: <6291fc850603100828l33b522fbw@mail.gmail.com> <4411AD35.1010004@rowe-clan.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_401_597860.1142012241007 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well, I just want APR as static (not SSL for example) BTW, with this I got : /bin/sh /root/local/build-1/libtool --silent --mode=3Dlink gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=3D2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -DHAVE_OPENSSL -I/root/tomcat- native-1.1.2/jni/native/include -I/usr/lib/java/include -I/usr/lib/java/include/ -I/root/local/include/apr-1 -version-info 2:2:2 -o libtcnative-1.la-rpath /usr/local/apr/lib src/os.lo src/info.lo src/poll.lo src/pool.lo src/misc.lo src/error.lo src/shm.lo src/proc.lo src/mmap.lo src/network.lo src/sslcontext.lo src/dir.lo src/user.lo src/sslnetwork.lo src/sslutils.lo src/ssl.lo src/file.lo src/sslinfo.lo src/stdlib.lo src/lock.lo src/jnilib.lo os/unix/uxpipe.lo os/unix/system.lo -all-static /root/local/lib/libapr- 1.la -lrt -lcrypt -lpthread -ldl -lssl -lcrypto make[1]: Leaving directory `/root/tomcat-native-1.1.2/jni/native' =3D=3D> alaska:~/tomcat-native-1.1.2/jni/native # ls .libs/ . .. libtcnative-1.a libtcnative-1.la libtcnative-1.lai I don't have no more the needed .so for Tomcat / JNI access ;( 2006/3/10, William A. Rowe, Jr. : > > libtool -link -all-static? > > Henri Gomez wrote: > > apr-config allow us in tomcatnative to get the libtool config for > > linking tomcatnative code with APR. > > > > we use /root/local/bin/apr-config --link-libtool --libs > > > > How could we make use of apr-config to make use libapr.a instead of > > libapr.so when we want to build tomcatnative with APR built in ? > > > > Regards > > ------=_Part_401_597860.1142012241007 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well, I just want APR as static (not SSL for example)

BTW, with this= I got :

/bin/sh /root/local/build-1/libtool --silent --mode=3Dlink  gcc -g -O2 -pthrea= d   -DHAVE_CONFIG_H -DLINUX=3D2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL   -I/root= /tomcat- native-1.1.2/jni/native/include -I/usr/lib/java/include -I/usr/lib/java/include/  -I/root/local/include/apr-1   -ver= sion-info 2:2:2    -o libtcnative= -1.la -rpath /usr/local/apr/lib src/os.lo src/info.lo src/poll.lo src/pool.lo src/misc.lo src/error.lo src/shm.lo src/proc.lo src/mmap.lo src/network.lo src/sslcontext.lo src/dir.lo src/user.lo src/sslnetwork.lo src/sslutils.lo src/ssl.lo src/file.lo src/sslinfo.lo src/stdlib.lo src/lock.lo src/jnilib.lo os/unix/uxpipe.lo os/unix/system.lo -all-static /root/local/lib/libapr- 1.la -lrt -lcrypt  -lpthread -ldl -lssl -= lcrypto
make[1]: Leaving directory `/root/tomcat-native-1.1.2/jni/native= '

=3D=3D>

alaska:~/tomcat-native-1.1.2/jni/native # ls .libs/
.&= nbsp; .. =20 libtcnative-1.a  libtcnative-1.la=   libtcnative-1.lai

I don't have no more the needed .so for= Tomcat / JNI access ;(


2006/3/10, William A. Rowe, Jr= . <wrowe@rowe-clan.net>:
libtool -link -all-static?

Henri Gomez wrote:
> apr-config all= ow us in tomcatnative to get the libtool config for
> linking tomcatn= ative code with APR.
>
> we use /root/local/bin/apr-config --li= nk-libtool --libs
>
> How could we make use of apr-config to make use libapr.a i= nstead of
> libapr.so when we want to build tomcatnative with APR bui= lt in ?
>
> Regards


------=_Part_401_597860.1142012241007--