编译openssl失败(SLES11.3), undefined reference to `OPENSSL_cpuid_setup'

https://stackoverflow.com/questions/11381514/undefined-reference-when-compiling-openssl

I ran into the same problem, and was able to solve it by passing adding -DOPENSSL_PIC to the config call:

./config -fPIC -DOPENSSL_PIC
posted @ 2018-03-21 18:41  二虎  阅读(1492)  评论(0编辑  收藏  举报