Linux下编译安装openssl1.0.1d时遇到问题: 请解救!!!!!

./Configure linux-generc64
##成功
make
遇到问题
../libcrypto.a(eng_rsax.o): In function `e_rsax_bn_mod_exp':
eng_rsax.c:(.text+0x11ff): undefined reference to `mod_exp_512'
../libcrypto.a(eng_rsax.o): In function `e_rsax_rsa_mod_exp':
eng_rsax.c:(.text+0x1b00): undefined reference to `mod_exp_512'
eng_rsax.c:(.text+0x21ab): undefined reference to `mod_exp_512'
../libcrypto.a(e_rc4_hmac_md5.o): In function `rc4_hmac_md5_cipher':
e_rc4_hmac_md5.c:(.text+0x40f): undefined reference to `rc4_md5_enc'
e_rc4_hmac_md5.c:(.text+0x4ea): undefined reference to `rc4_md5_enc'
collect2: ld 返回 1
make[2]: *** [link_app.] 错误 1
make[2]:正在离开目录 `/home/qige/openssl/apps'
make[1]: *** [openssl] 错误 2
make[1]:正在离开目录 `/home/qige/openssl/apps'
make: *** [build_apps] 错误 1

1、读一下INSTALL文档
2、make clean清理一下
3、重新来一次
./config --prefix=/usr/local --openssldir=/usr/local/openssl
make;make test;make install
温馨提示:答案为网友推荐,仅供参考
相似回答