Prev Up (Under construction)

OpenSSL

Secure Sockets Layer and cryptography libraries and tools.

Compilation

Relies heavily on perl :-(

V1.0.1?

Note that versions 1.0.1 through 1.0.1f have the infamous "heartbleed" bug. Versions 1.0.1g and above are considered "safe".
Straightforward, for example:
       # AIX 5.2/5.3/6.1/7.1, C 6/12.1/12.1/12.1
   export CC=cc; export CFLAGS="-O2"; export PERL=/usr/bin/perl; ./Configure --openssldir=/tmp/openssl-1.0.1g -lz -L/bio/local/../61/lib -I/bio/local/../61/include threads aix-cc zlib
   make clean
   make
   make test
   make install   # installs into /tmp/openssl-1.0.1g

V0.9.x

  1. Unpack the sources e.g.:
    gunzip -c openssl-0.9.8b.tar.gz | tar xvf -
    cd openssl-0.9.8b
    
  2. Run the configure script. Probably one has to specify C compiler and perl location, otherwise the script might use unwanted defaults. Examples:
    export CC=cc; export PERL=/usr/bin/perl; ./Configure --openssldir=/tmp/openssl-0.9.8b aix3-cc  # AIX pre-5 single threaded
    export CC=cc; export PERL=/usr/bin/perl; ./Configure --openssldir=/tmp/openssl-0.9.8b aix-cc   # AIX >= 5
    
  3. Run the Makefile (be patient, takes loooong !)
    make clean
    make
    make test
    make install   # installs into /tmp/openssl-0.9.8b
    
  4. If all went well, move the created package to its final location.

Last updated: Fri Apr 11 12:49:43 CED 2014 , M.Kraemer