<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif; line-height:1.6;">
    
<div><span>hi, the problem occurs  when I link to crypto Since mysqlclient update to the version"</span></div><table style="font-family: 'Microsoft YaHei'; orphans: 2; widows: 2;"><tbody><tr class="firstRow"><td valign="top" style="word-break: break-all;">http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/</td><td style="word-break: break-all;"><a href="http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/libmysqlclient-dev_5.7.23-0ubuntu0.18.04.1_amd64.deb">libmysqlclient-dev_5.7.23-0ubuntu0.18.04.1_amd64.deb</a>"</td></tr></tbody></table>.<div>The detail is below:</div><div><p>There is something wrong with multiple definition of 
`ERR_remove_thread_state' When I compile a c++ server and link openssl-1.0.2 
libcrypto.a and libmysqlclient.a.Here is the error:</p><pre><code>/usr/local/openssl-1.0.2/lib/libcrypto.a(err.o): In function `ERR_remove_thread_state':
err.c:(.text+0x1ac0): multiple definition of `ERR_remove_thread_state'
/usr/lib/x86_64-linux-gnu/libmysqlclient.a(ssl.cpp.o):(.text+0x1df0): first defined here
</code></pre><pre><code><br></code></pre><pre><code>How to solve the problem, please take a look. Can you provide the detail <b>depends version(especially </b></code><span style="font-family: 微软雅黑; line-height: 1.6;"><b>openssl)</b> for me?</span></pre><pre><code><br></code></pre><pre><code>Thank you very much.</code></pre><div><span><br></span></div>
<div id="ntes-pcmail-signature" style="font-family:'微软雅黑'">
    <style type="text/css">
        a#ntes-pcmail-signature-default:hover {
            text-decoration: underline;
            color: #199cff;
            cursor: pointer;
        }
        a#ntes-pcmail-signature-default:active {
            text-decoration: underline;
            color: #246fce;
            cursor: pointer;
        }
    </style>

                <font style="padding: 0; margin:0;">
                    <div id="ntes-pcmail-signature-default" style="font-size:14px; color:#000; text-decoration: none;"><br></div>                </font>

</div></div><!--😀-->
</div>
</body>
</html>