{"id":2226,"date":"2011-07-26T14:10:28","date_gmt":"2011-07-26T05:10:28","guid":{"rendered":"http:\/\/pchero21.com\/?p=2226"},"modified":"2011-07-26T14:10:28","modified_gmt":"2011-07-26T05:10:28","slug":"undefined-reference-to-ssl_ctx_free","status":"publish","type":"post","link":"http:\/\/pchero21.com\/?p=2226","title":{"rendered":"undefined reference to `SSL_CTX_free&#8217;"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>\uc0ac\ub0b4\uc5d0\uc11c \uac1c\ubc1c\uc911\uc778 \uc81c\ud488\uc744 \ud14c\uc2a4\ud2b8\ud558\uae30 \uc704\ud574 \ucef4\ud30c\uc77c\uc744 \ud558\ub358 \ub3c4\uc911, \uc544\ub798\uc758 \uc624\ub958\ub97c \ubc1c\uacac\ud588\ub2e4. mysqlclient \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ud568\uaed8 \uc0ac\uc6a9\ud558\ub294 \ubd80\ubd84\uc774 \uc788\uc5c8\ub294\ub370, Linking \uc744 \ud558\ub358 \ub3c4\uc911 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud55c \uac83\uc774\ub2e4.<\/p>\n<blockquote><p>\/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_close_free_options&#8217;:<br \/>\n(.text+0xd7d): undefined reference to `SSL_CTX_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_get_ssl_cipher&#8217;:<br \/>\n(.text+0x1081): undefined reference to `SSL_get_current_cipher&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_real_connect&#8217;:<br \/>\n(.text+0x3a4c): undefined reference to `SSL_get_peer_certificate&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_real_connect&#8217;:<br \/>\n(.text+0x3a60): undefined reference to `X509_get_subject_name&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_real_connect&#8217;:<br \/>\n(.text+0x3a74): undefined reference to `X509_NAME_oneline&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_real_connect&#8217;:<br \/>\n(.text+0x3a7c): undefined reference to `X509_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_get_ssl_cipher&#8217;:<br \/>\n(.text+0x108a): undefined reference to `SSL_CIPHER_get_name&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `report_errors&#8217;:<br \/>\n(.text+0x45): undefined reference to `ERR_get_error_line_data&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `ssl_do&#8217;:<br \/>\n(.text+0x8c): undefined reference to `SSL_new&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `ssl_do&#8217;:<br \/>\n(.text+0x9a): undefined reference to `SSL_clear&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `ssl_do&#8217;:<br \/>\n(.text+0xa2): undefined reference to `SSL_get_session&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `ssl_do&#8217;:<br \/>\n(.text+0xae): undefined reference to `SSL_SESSION_set_timeout&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `ssl_do&#8217;:<br \/>\n(.text+0xbc): undefined reference to `SSL_set_fd&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `ssl_do&#8217;:<br \/>\n(.text+0xd1): undefined reference to `SSL_get_fd&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `ssl_do&#8217;:<br \/>\n(.text+0x14b): undefined reference to `SSL_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `sslconnect&#8217;:<br \/>\n(.text+0x16f): undefined reference to `SSL_connect&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `sslaccept&#8217;:<br \/>\n(.text+0x18f): undefined reference to `SSL_accept&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `vio_ssl_close&#8217;:<br \/>\n(.text+0x1c5): undefined reference to `SSL_set_quiet_shutdown&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `vio_ssl_close&#8217;:<br \/>\n(.text+0x1cd): undefined reference to `SSL_shutdown&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `vio_ssl_delete&#8217;:<br \/>\n(.text+0x212): undefined reference to `SSL_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `vio_ssl_write&#8217;:<br \/>\n(.text+0x261): undefined reference to `SSL_write&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viossl.o): In function `vio_ssl_read&#8217;:<br \/>\n(.text+0x281): undefined reference to `SSL_read&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `report_errors&#8217;:<br \/>\n(.text+0x25): undefined reference to `ERR_get_error_line_data&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x99): undefined reference to `SSL_CTX_new&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0xbc): undefined reference to `SSL_CTX_set_cipher_list&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0xd9): undefined reference to `SSL_CTX_load_verify_locations&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0xfb): undefined reference to `SSL_CTX_use_certificate_file&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x125): undefined reference to `SSL_CTX_use_PrivateKey_file&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x135): undefined reference to `SSL_CTX_check_private_key&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x142): undefined reference to `DH_new&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x166): undefined reference to `BN_bin2bn&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x185): undefined reference to `BN_bin2bn&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x1bb): undefined reference to `SSL_CTX_ctrl&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x1c3): undefined reference to `DH_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x1da): undefined reference to `SSL_load_error_strings&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x1eb): undefined reference to `SSL_library_init&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x1f0): undefined reference to `OPENSSL_add_all_algorithms_noconf&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x206): undefined reference to `SSL_CTX_set_default_verify_paths&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x21d): undefined reference to `SSL_CTX_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x2bd): undefined reference to `DH_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd&#8217;:<br \/>\n(.text+0x2d6): undefined reference to `SSL_CTX_free&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd&#8217;:<br \/>\n(.text+0x328): undefined reference to `TLSv1_server_method&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd&#8217;:<br \/>\n(.text+0x36f): undefined reference to `SSL_CTX_ctrl&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd&#8217;:<br \/>\n(.text+0x389): undefined reference to `SSL_CTX_set_verify&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd&#8217;:<br \/>\n(.text+0x39f): undefined reference to `SSL_CTX_set_session_id_context&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLConnectorFd&#8217;:<br \/>\n(.text+0x3c6): undefined reference to `TLSv1_client_method&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLConnectorFd&#8217;:<br \/>\n(.text+0x405): undefined reference to `SSL_CTX_set_verify&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(my_compress.o): In function `my_uncompress&#8217;:<br \/>\n(.text+0x60): undefined reference to `uncompress&#8217;<br \/>\n\/usr\/lib\/mysql\/libmysqlclient.a(my_compress.o): In function `my_compress_alloc&#8217;:<br \/>\n(.text+0x102): undefined reference to `compress&#8217;<br \/>\ncollect2: ld returned 1 exit status<br \/>\nmake: *** [nxstart] \uc624\ub958 1<\/p><\/blockquote>\n<p>\uc704\uc758 \uc624\ub958\ub294 ssl \uad00\ub828 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ucc3e\uc9c0 \ubabb\ud574\uc11c \ubc1c\uc0dd\ub418\ub294 \uc624\ub958\uc600\ub2e4. \ubcf4\ud1b5 SSL \ub77c\uc774\ube0c\ub7ec\ub9ac\uc758 \uacbd\uc6b0 MySQL \uc774 \uc124\uce58\ub420\ub54c \uac19\uc774 \uc124\uce58\uac00 \ub418\ub294 \uac83 \uac19\uc558\ub294\ub370 \uc774\ubc88\uc5d4 \uc870\uae08 \uacbd\uc6b0\uac00 \ud2b9\uc774\ud588\ub2e4.<\/p>\n<p>OS\ub294 64\ube44\ud2b8 \uc600\uc9c0\ub9cc \uc81c\ud488\uc740 32 \ube44\ud2b8\ub85c \ucef4\ud30c\uc77c \ud574\uc57c \ud588\ub358 \uac83. \ucc98\uc74c\uc5d0\ub294 \uc57d\uac04 \ud5e4\ub9e4\uc5c8\uc9c0\ub9cc \uacb0\uad6d \ud574\uacb0\ud560 \uc218 \uc788\uc5c8\ub2e4.<\/p>\n<p><strong>OS:<\/strong><\/p>\n<blockquote><p>Linux localhost.localdomain 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU\/Linux<\/p><\/blockquote>\n<p><strong>SSL \ub77c\uc774\ube0c\ub7ec\ub9ac \uc124\uce58:<\/strong><\/p>\n<blockquote><p># yum install openssl-devel.i386<\/p><\/blockquote>\n<p><strong>SSL \ub77c\uc774\ube0c\ub7ec\ub9ac \ucd94\uac00:<\/strong><\/p>\n<blockquote><p>-lssl<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \uc0ac\ub0b4\uc5d0\uc11c \uac1c\ubc1c\uc911\uc778 \uc81c\ud488\uc744 \ud14c\uc2a4\ud2b8\ud558\uae30 \uc704\ud574 \ucef4\ud30c\uc77c\uc744 \ud558\ub358 \ub3c4\uc911, \uc544\ub798\uc758 \uc624\ub958\ub97c \ubc1c\uacac\ud588\ub2e4. mysqlclient \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \ud568\uaed8 \uc0ac\uc6a9\ud558\ub294 \ubd80\ubd84\uc774 \uc788\uc5c8\ub294\ub370, Linking \uc744 \ud558\ub358 \ub3c4\uc911 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud55c \uac83\uc774\ub2e4. \/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_close_free_options&#8217;: (.text+0xd7d): undefined reference to `SSL_CTX_free&#8217; \/usr\/lib\/mysql\/libmysqlclient.a(client.o): In function `mysql_get_ssl_cipher&#8217;: (.text+0x1081): undefined &hellip; <a href=\"http:\/\/pchero21.com\/?p=2226\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[128,238,239,272,362],"_links":{"self":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/2226"}],"collection":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2226"}],"version-history":[{"count":0,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/2226\/revisions"}],"wp:attachment":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2226"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}