You'll want this: --with-openssl-libs=/usr/local/ssl/lib (not /usr/lib)
-Greg G
Cion Chen wrote:
I have Redhat 9 with openssl-0.9.7a-20 tring to re-compiling mysql-4.0.17 again with the options:
./configure --with-openssl --with-openssl-includes=/usr/include/openssl --wi th-openssl-libs=/usr/lib --with-vio --prefix=/usr/local/compiled
There is messages that is coming:
checking if we should build MySQLFS... no checking for OpenSSL... Could not find an installation of OpenSSL Looks like you've forgotten to install OpenSSL development RPM
I had to double-check to make sure, but I thought they were already installed:
[EMAIL PROTECTED] local]# rpm -qa | grep -i openssl openssl-0.9.7a-20 openssl-devel-0.9.7a-20 pyOpenSSL-0.5.1-8
Where is the path that ./configure is searching ?? where i can change it? Someone with Any other ideas?
Thanks in Advance,
Cion
----- Original Message ----- From: "Greg G" <[EMAIL PROTECTED]>
To: "Cion Chen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 07, 2004 9:35 AM
Subject: Re: compiling mysql with ssl
dThis is a known bug. You'll have to create a link in /usr/local/include/openssl. Also, you'll want to use this configure: $ ./configure --with-openssl --with-openssl-includes=/usr/local/ssl/include --with-openssl-libs=/usr/local/ssl/lib --with-vio
Doing --with-openssl=/path/to/openssl seems to confuse configure. You also don't want to specify the particular .a file, just the directory.
-Greg G
Cion Chen wrote:
./configure --with-vio --with-openssl=/path/to/openssl --with-openssl-incluHi!none
I have some trouble tring to compile Mysql 4.0.17 with de options: --with-vio & --with-openssl, I try with some recomedation about it but
successful.
****Compiling with:
d./configure --with-vio --with-openssl --with-openssl-include=/path/to/inclu
e=/path/to/include/ssl.h --with-openssl-lib=/path/to/lib/libssl.a Everything is fine during de compilation but when i install the new database, it's show my variable "have_openssl=no" and the showing Status "SSL=not in use"
*****When i compile with:
now??e/ssl.h --with-openssl-lib=/path/to/lib/libssl.a during the compilation i get the following error:
../lib/mysql/.libs/libmysqlclient.so: undefined reference to "openssl_add_all_algorithms" collect 2: ld returned 1 exit status
Can someone help me?, I don't know that to do or what i should do for
Thanks in advance,
Cion