-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 12/12/11 8:27 PM, Caldarale, Charles R wrote:
>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: path used
>> for tc-natuve
> 
>> And if I do this, where do I put the result, in such a way that 
>> it doesn't overwrite the  existing one used by tomcat5.5 ?
> 
> One would normally place it in Tomcat's bin directory, and set
> LD_LIBRARY_PATH or -Djava.library.path to point there.  It's a bit
> scary (and rude) to put it in a public place.

+1

I think Andre's original problem wasn't with tcnative, but with
libapr. If you build the new tcnative dynamically-linked, then you're
going to have the same problem.

Other possibilities include building everything (libapr and
libtcnative) and putting them into, say, CATALINA_HOME/bin. I recently
had a fun (read: miserable) time doing this with 2 versions of each
(total of 4 possibilities) along with 2 libssl versions at the same
time. Trying to trump the system-level libraries requires that you
cover all your bases, otherwise some library name (like
libapr.1.4.2.so) will not override /usr/lib/libapr.1.so. Make sure
you've got all your symlinks right :)

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7nrvwACgkQ9CaO5/Lv0PDLxACgsIQ7uFeOEu9SIHtoITdLPHLR
X/gAn2K3lCTB/pB5zBwyc2s7sTnlxcVU
=O+fe
-----END PGP SIGNATURE-----

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

Reply via email to