-
Couldn't load subscription status.
- Fork 2.4k
Howto build non root when system does not have OpenSSL
If a system you are using does not have OpenSSL (or the install of OpenSSL is very old), you are not root, and can not get the system admins to install OpenSSL, here is how to proceed, by installing openssl into your local directory structure.
Assumptions: Your home dir is /home/myuser Change this to the proper location when using these instructions.
$ cd
$ mkdir ssl $ mkdir sslsrc
$ cd sslsrc $ wget www.openssl.org/source/openssl-1.0.2d.tar.gz $ tar xf openssl-1.0.2d.tar.gz $ cd openssl-1.0.2d $ ./Configure --prefix=~/ssl linux-x86_64 (Note, if your system is not linux-x86_64, you will have to pick the right one) $ make -sj4 build_libs (or gmake, or whatever 'make' tool is on your system) $ make -s test $ make install_sw (I like installing without using -s to 'see' what is done)
$ cd john_source_location (wherever you placed the JtR tree, into the ./src directory) $ ./configure OPENSSL_CFLAGS="-I~/ssl" OPENSSL_LIBS="-L~/ssl/lib -lcrypto -lssl" $ make -sj4