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
Had the same problem. The executable doesn't search
/usr/local/src/openssl-1.0.2m/local/lib/
on runtime.Fixed by passing the
-rpath
option to the linker so that the executable searchs the path.In line 46 append
LDFLAGS="$openssl_rpath"
and line 32openssl_rpath="-Wl,-rpath,'\$\$ORIGIN/../openssl-$opensslversion/local/lib' -Wl,-z,origin"
then rebuild and it should be working