link errors compiling ssl support

link errors compiling ssl support

am 18.06.2005 08:58:42 von hormuzd irani

while compiling mysql with ssl support using vc++6 using mysql source
4.1.12a and openssl 0.9.7g and also openssl 0.9.6m i get the following link
errors:

Linking...
client.obj : error LNK2001: unresolved external symbol _sslconnect
client.obj : error LNK2001: unresolved external symbol
_new_VioSSLConnectorFd
item_strfunc.obj : error LNK2001: unresolved external symbol "struct
st_des_keyschedule * des_keyschedule"
(?des_keyschedule@@3PAUst_des_keyschedule@@A)
item_strfunc.obj : error LNK2001: unresolved external symbol "unsigned int
des_default_key" (?des_default_key@@3IA)
item_strfunc.obj : error LNK2001: unresolved external symbol "struct
_RTL_CRITICAL_SECTION LOCK_des_key_file"
(?LOCK_des_key_file@@3U_RTL_CRITICAL_SECTION@@A)
mysqld.obj : error LNK2001: unresolved external symbol "void __cdecl
free_des_key_file(void)" (?free_des_key_file@@YAXXZ)
mysqld.obj : error LNK2001: unresolved external symbol "int __cdecl
load_des_key_file(char const *)" (?load_des_key_file@@YAHPBD@Z)
mysqld.obj : error LNK2001: unresolved external symbol _new_VioSSLAcceptorFd
sql_parse.obj : error LNK2001: unresolved external symbol _sslaccept
.../client_debug/mysqld-debug.exe : fatal error LNK1120: 9 unresolved
externals
Error executing link.exe.

mysqld-debug.exe - 10 error(s), 0 warning(s)


if openssl 2 libraries : ssleay32.lib and libeay32.lib are not included, i
get following errors:

Configuration: mysqld - Win32 Release
Compiling...
client.c
Linking...
client.obj : error LNK2001: unresolved external symbol _sslconnect
client.obj : error LNK2001: unresolved external symbol
_new_VioSSLConnectorFd
item_strfunc.obj : error LNK2001: unresolved external symbol
_DES_ede3_cbc_encrypt
item_strfunc.obj : error LNK2001: unresolved external symbol
_DES_set_key_unchecked
item_strfunc.obj : error LNK2001: unresolved external symbol _EVP_BytesToKey
item_strfunc.obj : error LNK2001: unresolved external symbol
_EVP_des_ede3_cbc
item_strfunc.obj : error LNK2001: unresolved external symbol _EVP_md5
item_strfunc.obj : error LNK2001: unresolved external symbol "struct
st_des_keyschedule * des_keyschedule"
(?des_keyschedule@@3PAUst_des_keyschedule@@A)
item_strfunc.obj : error LNK2001: unresolved external symbol "unsigned int
des_default_key" (?des_default_key@@3IA)
item_strfunc.obj : error LNK2001: unresolved external symbol "struct
_RTL_CRITICAL_SECTION LOCK_des_key_file"
(?LOCK_des_key_file@@3U_RTL_CRITICAL_SECTION@@A)
mysqld.obj : error LNK2001: unresolved external symbol "void __cdecl
free_des_key_file(void)" (?free_des_key_file@@YAXXZ)
mysqld.obj : error LNK2001: unresolved external symbol "int __cdecl
load_des_key_file(char const *)" (?load_des_key_file@@YAHPBD@Z)
mysqld.obj : error LNK2001: unresolved external symbol _new_VioSSLAcceptorFd
sql_acl.obj : error LNK2001: unresolved external symbol
_X509_get_subject_name
sql_acl.obj : error LNK2001: unresolved external symbol _X509_NAME_oneline
sql_acl.obj : error LNK2001: unresolved external symbol
_X509_get_issuer_name
sql_acl.obj : error LNK2001: unresolved external symbol _SSL_CIPHER_get_name
sql_show.obj : error LNK2001: unresolved external symbol
_SSL_CIPHER_get_name
sql_acl.obj : error LNK2001: unresolved external symbol
_SSL_get_current_cipher
sql_show.obj : error LNK2001: unresolved external symbol
_SSL_get_current_cipher
sql_acl.obj : error LNK2001: unresolved external symbol
_SSL_get_peer_certificate
sql_acl.obj : error LNK2001: unresolved external symbol
_SSL_get_verify_result
sql_parse.obj : error LNK2001: unresolved external symbol _sslaccept
sql_show.obj : error LNK2001: unresolved external symbol
_SSL_get_verify_depth
sql_show.obj : error LNK2001: unresolved external symbol
_SSL_get_verify_mode
sql_show.obj : error LNK2001: unresolved external symbol
_SSL_get_default_timeout
sql_show.obj : error LNK2001: unresolved external symbol _SSL_ctrl
sql_show.obj : error LNK2001: unresolved external symbol _SSL_get_version
sql_show.obj : error LNK2001: unresolved external symbol
_SSL_CTX_get_verify_depth
sql_show.obj : error LNK2001: unresolved external symbol
_SSL_CTX_get_verify_mode
sql_show.obj : error LNK2001: unresolved external symbol _SSL_CTX_ctrl
.../client_release/mysqld.exe : fatal error LNK1120: 29 unresolved externals
Error executing link.exe.

mysqld.exe - 32 error(s), 0 warning(s)

help!

____________________________________________________________ _____
Adore Arshad Warsi? http://server1.msn.co.in/sp05/iifa/ Think he is the
funniest?


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org