From 5927926a1ae8e0015e3267ad955184f574c996fc Mon Sep 17 00:00:00 2001 From: mengskysama Date: Mon, 19 Feb 2018 00:27:38 +0800 Subject: [PATCH] Update install.sh --- tests/libopenssl/install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/libopenssl/install.sh b/tests/libopenssl/install.sh index e948bff..480c772 100755 --- a/tests/libopenssl/install.sh +++ b/tests/libopenssl/install.sh @@ -10,3 +10,10 @@ pushd openssl-$OPENSSL_VER # sudo ldconfig # test multiple libcrypto popd rm -rf openssl-$OPENSSL_VER || exit 1 + +rm /usr/bin/openssl || exit 1 +rm -r /usr/include/openssl || exit 1 +ln -s /usr/local/bin/openssl /usr/bin/openssl || exit 1 +ln -s /usr/local/include/openssl /usr/include/openssl || exit 1 +echo /usr/local/lib >> /etc/ld.so.conf || exit 1 +ldconfig -v || exit 1