In compiling MySql-4.0.2-alpha, I get the following error messages related to OpenSSL shown below.
Using STRINGS to check the differences between OpenSSL-0.9.6a and OpenSSL-0.9.7-beta3 shows "OpenSSL_add_all_algorithms" in 0.9.6a but not in 0.9.7-beta3: =================== OpenSSL-0.9.6a ============================ (as compiled and distributed by FreeBSD.org) strings /usr/lib/libcrypto.so.2 | grep OpenSSL OpenSSL_add_all_ciphers OpenSSL_add_all_algorithms OpenSSL_add_all_digests DSA_OpenSSL DH_OpenSSL TXT_DB part of OpenSSL 0.9.6a 5 Apr 2001 =================== OpenSSL-0.9.7-beta3 ====================== (as compiled by user under FreeBSD using "config threads shared") strings /usr/local/ssl/lib/libcrypto.so.0.9.7 | grep OpenSSL OpenSSLDie DSA_OpenSSL DH_OpenSSL OpenSSL_add_all_ciphers OpenSSL_add_all_digests UI_OpenSSL %s(%d): OpenSSL internal error, assertion failed: %s OpenSSL 0.9.7-beta3 30 Jul 2002 ============= MySql-4.0.2-alpha compile errors ======================== gcc -DDBUG_OFF -O2 -fno-strength-reduce -o test-ssl test-ssl.o -L/usr/local/ssl/lib -L/usr/local/lib ../dbug/libdbug.a libvio.a ../mysys/libmysys.a ../strings/libmystrings.a libvio.a -L/usr/local/ssl/lib -lssl -lcrypto -lz -lcrypt -lm -pthread -lcipher /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is not recommended. /usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider using mkstemp() libvio.a(viosslfactories.o): In function `new_VioSSLConnectorFd': viosslfactories.o(.text+0x23e): undefined reference to `OpenSSL_add_all_algorithms' libvio.a(viosslfactories.o): In function `new_VioSSLAcceptorFd': viosslfactories.o(.text+0x34d): undefined reference to `OpenSSL_add_all_algorithms' *** Error code 1 Stop in /var/stage/mysql-4.0.2-alpha/vio. *** Error code 1 Stop in /var/stage/mysql-4.0.2-alpha. *** Error code 1 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]