This script has moved to: https://github.com/leonjza/socat23
This script downloads and builds OpenSSL v1.0.2m and socat v1.7.3.2 in /usr/local/src
. Once complete, a symlink at /usr/local/bin/socat-ssl23
is created so that you can run it with socat-ssl23
.
Tested on Kali Linux:
curl -fsSL https://git.io/vFBDA | bash
I run this script and it seemed to have downloaded and install everything, but when I trying using compiled app I get this error:
/usr/local/src/socat-1.7.3.2/socat: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
I verified that files exist in lib folder:
ls -l /usr/local/src/openssl-1.0.2m/local/lib/
total 8380
drwxr-xr-x. 2 root root 236 Nov 19 15:29 engines
-rw-r--r--. 1 root root 4507940 Nov 19 15:29 libcrypto.a
lrwxrwxrwx. 1 root root 18 Nov 19 15:29 libcrypto.so -> libcrypto.so.1.0.0
-r-xr-xr-x. 1 root root 2683472 Nov 19 15:29 libcrypto.so.1.0.0
-rw-r--r--. 1 root root 831290 Nov 19 15:29 libssl.a
lrwxrwxrwx. 1 root root 15 Nov 19 15:29 libssl.so -> libssl.so.1.0.0
-r-xr-xr-x. 1 root root 552128 Nov 19 15:29 libssl.so.1.0.0
drwxr-xr-x. 2 root root 61 Nov 19 15:29 pkgconfig
Any advice what is missing?
Thanks!