问题
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