Thanks for your reply, I do that but it's was unsuccesful.
With theses options i get the following error when i do MAKE:
../readline/libreadline.a -lncurses ../libmysql/.libs/libmysqlclient.so -L/usr/lib -lz
-lcrypt -lnsl -lm -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/compiled/lib/mysql
../libmysql/.libs/libmysqlclient.so: undefined reference to
`OpenSSL_add_all_algorithms'
collect2: ld returned 1 exit status
if something could missing here? or some other bugs??
i'm getting hysteria.
tranks in advance,
Cion
----- Original Message -----
From: Victor Medina
To: Greg G
Cc: Cion Chen ; [EMAIL PROTECTED]
Sent: Friday, January 09, 2004 12:32 PM
Subject: Re: compiling mysql with ssl
I had the same problem, just don't know what is wrong with the red hat ssl packages.
I did this:
1.- download a fresh copy of openssl, configure with --prefix=/opt/OpenSSL, compile
and install, everything will go to /optOpenSSL, so, the new version won't conflict
with the red hat's
2.- compile mysql with:
--with-openssl-libs=/opt/OpenSSL/lib
--with-openssl-include=/opt/OpenSSL/include
--prefix=/opt/MySQL
I like to keep control with what i compile and install, it is quite hard to find
whats installed with "MAKE INSTALL" under /usr, changing the default prefix is somehow
easier to manage, every thing will go to /opt
This is how i did it, I have copies of 4.0, 4.1 and 5 running on the same machine
like this
Hope this helps!
Best Regards from venezuela
|____ _____ ____ _ |Victor Medina M |
|\ |...........................................................|
\ \| ____| _ \ / \ |Linux - Java - MySQL |
| \ \ \ _| | |_) / _ \ |Dpto. Sistemas - Ferreteria EPA |
| / / / |___| __/ ___ \ |[EMAIL PROTECTED] |
|/_/_/|_____|_| /_/ \_\|ext. 325 |
| |geek by nature - linux by choice |
|...........................................................|
----- Original Message ----- From: Greg G To: Cion Chen Cc: [EMAIL PROTECTED] Sent:
Friday, January 09, 2004 12:25 PMSubject: Re: compiling mysql with sslYou'll want
this: --with-openssl-libs=/usr/local/ssl/lib (not /usr/lib)-Greg G