Mark Matthews wrote:
According to 4.4.10.2 Requirements, have_openssl must be YES prior to setting up certificates. Is this in error?
Sorry, I missed that small fact.
What does the file include/my_config.h say about #define HAVE_OPENSSL
(it's generated by 'configure').
/* OpenSSL */ /* #undef HAVE_OPENSSL */
I can't find anywhere that HAVE_OPENSSL is being #define'd. There's a bunch of #ifdefs and #undefs, but not #define.
If HAVE_OPENSSL is not defined, then, for some reason the configure
script is not picking up that you want SSL support compiled in. To debug
that, you'd need to post the output of configure and/or config.log.
I did find these: ./aclocal.m4: AC_DEFINE(HAVE_OPENSSL) ./configure: #define HAVE_OPENSSL 1
In config.log, you should see something like 'configure:22899: checkingHere's the relevant lines from config.log:
for OpenSSL', and towards the end of config.log, you should see a
'#define HAVE_OPENSSL 1'.
$ ./configure --with-openssl=/usr/local/ssl --with-vio --prefix=/usr/local/mysql
configure:20954: checking for OpenSSL configure:21080: result: no
Hmm. That's probably the problem. :) However, I didn't get any messages when running configure. I've even specified --with-openssl-include and --with-openssl-lib since the --with-openssl directory doesn't seem to be getting using to determine those directories. I'm not sure what's happening. I have a lot of trouble debugging configure.
-Greg G