This 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:


Hi!

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


none


successful.

****Compiling with:



./configure --with-vio --with-openssl=/path/to/openssl --with-openssl-includ


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:




./configure --with-vio --with-openssl --with-openssl-include=/path/to/includ


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


now??


Thanks in advance,

Cion






Reply via email to