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

Jarda,

On 4/18/2011 1:12 AM, Jaroslav Fikker wrote:
> Thank you very much for your tip. I had tried to run command
> 
> CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure --with-apr=/usr
> --prefix=/opt/tomcat_6_0
> 
> but I still was unsuccessful. I check log file and I think that cause
> of problem is in /usr/bin/apr-1-config file. One command inside this
> file is:
> 
> pkg-config --variable=libdir apr-1
> 
> Output of this command is /usr/lib64. I have installed both 32bit
> (/usr/lib) and 64bit (/usr/lib64) version of APR. Does exist any way
> to force configure command to use 32bit path of APR?

Your tcnative build must match your apr and openssl architectures. If
you have 64-bit APR, you must use 64-bit tcnative and therefore 64-bit Java.

I'm not sure if it's possible to use your package manager to install
both 32- and 64-bit APR libraries so you can choose.

You might want to simplify things and build everything x64.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2spq8ACgkQ9CaO5/Lv0PBZBACgmRGS8cmw1fDCL2BfJShkVx89
fsAAoLCixJfNpgKrSlur1yEQ8Hff/siY
=TUda
-----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