make编译出错 usr/bin/ld: /data/app/openssl/lib/libcrypto.a(ecs_asn1.o): relocation R_X86_64_PC32 against symbol `ECDSA_SIG_it' can not be used when making a shared object; recompile with -fPIC

make编译出现错误

usr/bin/ld: /data/app/openssl/lib/libcrypto.a(ecs_asn1.o): relocation R_X86_64_PC32 against symbol `ECDSA_SIG_it' 
can not be used when making a shared object; recompile with -fPIC

重新配置一下openssl

 

 配置

./config -fPIC

编译

make

安装

make install

  

 

                                                        连雨不知春去,一晴方觉夏深!

posted @ 2020-08-05 11:28  一如年少de模样  阅读(1747)  评论(4编辑  收藏  举报