tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: libapr-1.so.0 not deployed for Tomcat 7
Date Sun, 04 Aug 2013 14:15:46 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

srinivas,

On 8/3/13 12:06 AM, srinivas yelamanchili wrote:
> I installed the APR with  --prefix=/apps/mstrat/apache/apr-1.4.8

So you told apr to install into a particular directory. Why should the
tcnative build process re-install APR to somewhere else?

> The tomcat native configure had this parameter 
> '--with-apr=/apps/mstrat/apache/apr-1.4.8' , so if it's building 
> libtcnative i would expected it pick the libapr-1.so.0 from this
> apr folder just to be sure that the libtcnative and libapr in the 
> deployed catalina lib folder are on the same page.

No, the "right way to do it" is to put your libraries where you want
them and then adjust the library path (LD_LIBRARY_PATH or
java.library.path) appropriately. If you want to be lazy and throw
everything into CATALINA_HOME/lib, then you'll have to do it yourself.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJR/mISAAoJEBzwKT+lPKRYuRcP+wfEi750UunUOO5704EgCnyP
XH0bAf3l4fOjSQ1ChPghWcqFNIeCOnCHp6TYpnAaRkQyz83u6H95aPpVjLKaT7kZ
ze9dfD/akXDn7TbdVGTErlZGHbiPqfLmHRqYmd2keXYf/cYOq/MbrUlNuqmDuj0z
WchAgDFRqa0cuJTOXH4kGUwnf9I77eSr3mns0eQGNE/DNz98iMluJCBkjfi+cnyQ
U+T6elIwHL3QKq2bNsRe5y3fkCJUbbv/L8TmNA4LkZFue9cCNgtgaDXNqrmXbwsO
uhsraQhgTyUdtRhqOtILYxbLdAAu7Li0FN38lHMOAHXzyWJhBcO9ESV9kPefVmoT
ayoxFuv/UUBGQN8AgUT9fokLTMJBOBio79oeE0F/6ZvcTHQSEAi5Wzn7N8uZRA+l
FEJXmQe29td/j6U8MrmgHIf4CrZ6IpJ6/iKkNbKXZBpWj1RIYa+i2iBRpTvLTLJQ
ocn9HZ3uSK9szSdoFyXaZErjwq2ECDCAj1x4n4gDcBlRmaU96DAKs3cGgT56GU4o
UJWWPiSrtc0Vsp1mbDTf+2oiS7faiZDtoxLQMA2VQjeqvqzTbh+aUekjWWb6unux
qXooJPkIzkR7vEz+Abaeu6VOeXxxVTBZghfz44R+NZLuPbevCkSZvUgiRf2r2V9Y
hE6nHUtQia1YtA8+Vb1Z
=FhR5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message