当前位置: 技术问答>linux和unix
openssl安装问题
来源: 互联网 发布时间:2017-02-03
本文导语: 想要在fedora14中安装HIPL进行试验。提示openssl not found。于是就在科大下载了openssl-debuginfo-1.0.0a-2.fc14.i686.rpm安装。信息如下: [root@localhost Downloads]# rpm -i openssl-debuginfo-1.0.0a-2.fc14.i686.rpm warning: openssl-debuginfo-1.0.0a-2...
想要在fedora14中安装HIPL进行试验。提示openssl not found。于是就在科大下载了openssl-debuginfo-1.0.0a-2.fc14.i686.rpm安装。信息如下:
[root@localhost Downloads]# rpm -i openssl-debuginfo-1.0.0a-2.fc14.i686.rpm
warning: openssl-debuginfo-1.0.0a-2.fc14.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: [root@localhost Downloads]# rpm -i openssl-debuginfo-1.0.0a-2.fc14.i686.rpm
warning: openssl-debuginfo-1.0.0a-2.fc14.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
package openssl-debuginfo-1.0.0a-2.fc14.i686 is already installed(已安装)
[root@localhost Downloads]# cd hipl-1.0.6
[root@localhost hipl-1.0.6]# ./configure
checking for gcc... gcc
checking for DSA_generate_key in -lcrypto... no
configure: error: OpenSSL not found.(未安装)
什么原因?请高手赐教!
[root@localhost Downloads]# rpm -i openssl-debuginfo-1.0.0a-2.fc14.i686.rpm
warning: openssl-debuginfo-1.0.0a-2.fc14.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: [root@localhost Downloads]# rpm -i openssl-debuginfo-1.0.0a-2.fc14.i686.rpm
warning: openssl-debuginfo-1.0.0a-2.fc14.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 97a1071f: NOKEY
package openssl-debuginfo-1.0.0a-2.fc14.i686 is already installed(已安装)
[root@localhost Downloads]# cd hipl-1.0.6
[root@localhost hipl-1.0.6]# ./configure
checking for gcc... gcc
checking for DSA_generate_key in -lcrypto... no
configure: error: OpenSSL not found.(未安装)
什么原因?请高手赐教!
|
那么就尝试编译安装吧
tar -zxvf openssl-1.0.0e.tar.gz
cd openssl-1.0.0e
./config --prefix=/usr --openssldir=/usr shared zlib-dynamic enable-camellia
make
make install
ldconfig
cd ..
|
楼主错在使用debuginfo版,其他的fedora软件都是release版,你搞个debug版,很有可能最后你依赖openssl的https、openssh都不能使用
你知道中科大软件源那很好,配yum软件源,yum install openssl安装即可
而且,openssl是基础库,提供了基础加密功能,基本上是预装的,不用单独装吧
单独编译装的话,一定要装进/usr/local