编译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
原文地址:https://www.cnblogs.com/erhu-67786482/p/8618909.html