{"id":396,"date":"2013-08-09T09:45:06","date_gmt":"2013-08-09T09:45:06","guid":{"rendered":"http:\/\/www.selinuxplus.com\/?p=396"},"modified":"2013-08-09T09:45:06","modified_gmt":"2013-08-09T09:45:06","slug":"%e7%bc%96%e8%af%91%e6%94%af%e6%8c%81%e8%af%81%e4%b9%a6openssl%e5%ba%93%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.selinuxplus.com\/?p=396","title":{"rendered":"\u7f16\u8bd1\u652f\u6301\u8bc1\u4e66openssl\u5e93\u7684\u95ee\u9898"},"content":{"rendered":"<p> \u7f16\u8bd1\u652f\u6301\u8bc1\u4e66openssl\u5e93\u7684\u65f6\u5019\uff0c\u51fa\u73b0DSO linker\u95ee\u9898<\/p>\n<pre class=\"lang:default decode:true \" >\/usr\/bin\/ld: \/tmp\/ccXEDaF2.o: undefined reference to symbol 'X509_free'\r\n\/usr\/bin\/ld: note: 'X509_free' is defined in DSO \/lib64\/libcrypto.so.10 so try adding it to the linker command line\r\n\/lib64\/libcrypto.so.10: could not read symbols: Invalid operation\r\ncollect2: ld returned 1 exit status\r\nmake: *** [echart] Error 1<\/pre>\n<p>\u68c0\u67e5\u4e00\u4e0b\u662f\u5426\u652f\u6301\u8be5\u9009\u9879<\/p>\n<pre class=\"lang:default decode:true \" >[root@41-dev src]# readelf --symbols \/lib64\/libcrypto.so.10 |grep X509_free\r\n116: 0000003ed98d19e0 12 FUNC GLOBAL DEFAULT 11 X509_free\r\n2027: 0000003ed98d2b50 12 FUNC GLOBAL DEFAULT 11 NETSCAPE_X509_free<\/pre>\n<p>\u5982\u679c\u652f\u6301\u7684\u8bdd\uff0c\u53ef\u4ee5\u5728ld.so.conf,\u6dfb\u52a0\/lib64 ,\u6216\u8005\u4f7f\u7528ldconfig<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7f16\u8bd1\u652f\u6301\u8bc1\u4e66openssl\u5e93\u7684\u65f6\u5019\uff0c\u51fa\u73b0DSO l&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[75],"_links":{"self":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/396"}],"collection":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=396"}],"version-history":[{"count":1,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/396\/revisions"}],"predecessor-version":[{"id":397,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/396\/revisions\/397"}],"wp:attachment":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=396"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}