-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

I'm trying to do a complete test of 8.5.15 (candidate) and I can't
seem to build tcnative because of the OpenSSL dependency.

On my system, I've got OpensSSL 1.0.1t installed globally, but I have
openssl 1.0.2f installed locally for the purposes of building
tcnative. This has worked in the past. When I run configure, it's
telling me that I have 1.0.1t available:

checking for OpenSSL library... using openssl from
/usr/${exec_prefix}/lib and /usr/include
checking OpenSSL library version >= 1.0.2...

Found   OPENSSL_VERSION_NUMBER 0x1000114f (OpenSSL 1.0.1t  3 May 2016)
Require OPENSSL_VERSION_NUMBER 0x1000200f or greater (1.0.2)
configure: error: Your version of OpenSSL is not compatible with this
version of tcnative

If I specify --with-ssl, it's giving me roughly the same behavior:

checking for OpenSSL library... using openssl from
/home/cschultz/projects/apache-tomcat/openssl-1.0.2f/${exec_prefix}/lib
and
/home/cschultz/projects/apache-tomcat/openssl-1.0.2f/include
checking OpenSSL library version >= 1.0.2... configure: error: Your
version of OpenSSL is not compatible with this version of tcnative

Oddly, it doesn't tell me what my current version actually is.

In the openssl-1.0.2f directory, I have the expected libssl.* files
but there was no "lib" directory, so I created a lib/ directory and
symlinked all of the ../libssl.* files into it.

Running openssl-1.0.2f/apps/openssl version confirms that the
command-line app has the proper OpenSSL version, and it's using the
right version of the shared library (confirmed with ldd). It looks
like I was missing the symlinks for the libcrypto.* objects. Once I
added those symlinks, I was able to call configure.

AFAIK, my openssl-1.0.2f/ local directory is a legitimately-built
OpenSSL, but the tcnative build process is looking for things in odd
places. I realize that 1.0.2f is a bit behind the times (1+ year old)
but has the build process changed that much? Also, what about people
using these older versions?

I'm building 1.0.2k from source now to see if any post-build
modifications need to made in order for tcnative's build to pick-up
the libraries, headers, etc. from that version.

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZELelAAoJEBzwKT+lPKRYrwsP/2KP8b/VrptcGLHPLIf75kwE
RxGqKbz2HqkUvhfoIJScmVFx9iucBFyR22QOgzOazSOQOImNCOE6CvWngBcr/EJS
8jHp1XUlxcNT3kudFFaF47fnGYQWuXAko1AvDm1AYH56jVvo7YcD+CQkQmBSUC5p
WOpy8+SdmOtf+scgmmT0Uybpau0uj5nLpUQT5NgD3oQvuWwego49r8USh/S7LM/V
a/6FgPp+Jy8AzcVevyl7fz9tI3ITkoi8JHwlGFl3h6QR4vbhQJp0Spv4MCT2JHnR
rFYFi/ecf/6rpw+xxff7T1vsYNxLmhBBjDtRuKajs4r4SATp8bJIjTUJWfZSSx87
4W3kTuOm2LBrBOO3VxNRjxzgAzZ770Cz5XaSCiAKvIXzn9EOdozP+pwp4E7ZB9r9
bYmIfszNNo/GfR1ZPlS7+VJiQTNzOnPvQpyQII4hqoGlGLq41i74qrpOrSYChxml
WzhyoXzNMO5Ee0rSS57ulvxqudSjSpwJxvLHbIZ6qCbD36BcKF9SelhmFmYQ9zub
hF2BAUtB6Bvc7lE8kTe/ED5+o+0OBr+hriiBEyHIXzdL8oZmuzw8KGgUNj5x3pNQ
Uar5Td983A+6CCdvrGmLV+IkL7n7NkAWhQ6Swfbx8oKl3W7SyA3HVG7DN8lOGFWN
Hr+/CtCEoMyL3RTpTsJQ
=2H4K
-----END PGP SIGNATURE-----

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

Reply via email to