Compiling openssl 1.0.0e, “openssl version” still

2019-05-26 20:08发布

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条回答
唯我独甜
2楼-- · 2019-05-26 20:47

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
查看更多
登录 后发表回答