[openssl.org #263] Apparently Missing OpenSSL_add_all_algorithms in 0.9.7-beta3

2002-09-05 Thread Lutz Jaenicke via RT


[[EMAIL PROTECTED] - Sun Sep  1 19:01:48 2002]:

 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:

Your method of testing for the presence of OpenSSL_add_all_algorithms()
is incomplete.

Starting with 0.9.7, OpenSSL_add_all_algorithms() is no longer
available as a function but as a macro, that is defined in
openssl/evp.h.
If your compilation fails with OpenSSL_add_all_algorithms() being
flagged as an unresolved symbol, it means that either openssl/evp.h
is not included when using the function call or that the version of
the header files does not match your library.

Best regards,
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #263] Apparently Missing OpenSSL_add_all_algorithms in 0.9.7-beta3

2002-09-01 Thread [EMAIL PROTECTED] via RT


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]