I'm having a problem getting MySQL 4.0.20 compiled w/ SSL support on one
of my servers.  configure finds what it's wanting for SSL support but the
make fails every time.  Technically this a RH9 box, although it doesn't
much resemble one after I'm through with it.  OpenSSL is of course
compiled from source and installed in /usr/local/ssl (default).  
ld.so.conf has of course been modified appropriately.  MySQL is configured
with...

./configure --prefix=/usr/local --sysconfdir=/etc/mysql 
--localstatedir=/var --enable-shared --enable-static --with-libwrap 
--with-berkeley-db --enable-thread-safe-client --with-mysqld-user=mysql 
--with-openssl --with-openssl-includes=/usr/local/ssl/include 
--with-openssl-libs=/usr/local/ssl/lib

./configure claims to find OpenSSL too:

checking for OpenSSL... yes

The compile exits with this error though:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include    -O3 
-DDBUG_OFF   -MT strxmov.o -MD -MP -MF ".deps/strxmov.Tpo" \
  -c -o strxmov.o `test -f 'strxmov.c' || echo './'`strxmov.c; \
then mv -f ".deps/strxmov.Tpo" ".deps/strxmov.Po"; \
else rm -f ".deps/strxmov.Tpo"; exit 1; \
fi
In file included from strxmov.c:33:
../include/my_global.h:1129:30: openssl/opensslv.h: No such file or 
directory
make[2]: *** [strxmov.o] Error 1
make[2]: Leaving directory `/usr/local/src/mysql/mysql-4.0.20/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql/mysql-4.0.20'
make: *** [all] Error 2

opensslv.h exists, although I don't know where exactly its looking for it.  
Any ideas spring into anyone's mind?  The OpenSSL installation is just
fine.  Of the dozens of other packages I've compiled against this OpenSSL
install (and other identical installs on other servers) everything worked
without a hitch except for MySQL.  I'm stumped as to why it's not working
though.  Is there some trick to getting MySQL to compile with OpenSSL 
installed in its default location?

Thanks for the help
 Justin



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to