Compiling openssl 1.0.0e, “openssl version” still returns 0.9.8k.. What am i doing wrong?

蹲街弑〆低调 提交于 2019-12-22 18:06:19

问题


I am trying to install openssl 1.0.0e on Ubuntu 10.0.4 LTS
I tried using some procedures one of which was

./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl  
sudo make
sudo make install

After this it installs without errors but when i do openssl version it still tells me OpenSSL 0.9.8k 25 Mar 2009

What am I doing wrong?


回答1:


Do which openssl to find out which copy you are running - I suspect it's the default, older one.

You'll need to set PATH to contain /usr/local/openssl/bin to get the new one:

export PATH=/usr/local/openssl/bin:$PATH


来源:https://stackoverflow.com/questions/8654502/compiling-openssl-1-0-0e-openssl-version-still-returns-0-9-8k-what-am-i-doi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!