OpenSSL: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 2: Line 2:
but *.so libraries only, no *.a. Anyway, to install it do following:
but *.so libraries only, no *.a. Anyway, to install it do following:


Download openssl-0.9.8d.tar.gz from web to /usr/local/downloads. Then:
Download openssl-0.9.7a.tar.gz from web to /usr/local/downloads (the same version we have on RHEL4). Then:


   cp openssl-0.9.8d.tar.gz /usr/local/src/
   cp openssl-0.9.7a.tar.gz /usr/local/src/
   cd /usr/local/src/
   cd /usr/local/src/
   gunzip openssl-0.9.8d.tar.gz
   gunzip openssl-0.9.7a.tar.gz
   tar xvf openssl-0.9.8d.tar
   tar xvf openssl-0.9.7a.tar
   cd openssl-0.9.8d
   cd openssl-0.9.7a
 
Configure on Linux (we want to replace default version, the same version must be on all machines otherwise they cannot talk to each other):
 
  ./config --prefix=/usr


Configure for Sparc Solaris (32-bit version):
Configure for Sparc Solaris (32-bit version):

Revision as of 00:37, 6 January 2007

OpenSSL comes with RHEL4. On Solaris it seems exist in /usr/lib/mps and /usr/include/mps but *.so libraries only, no *.a. Anyway, to install it do following:

Download openssl-0.9.7a.tar.gz from web to /usr/local/downloads (the same version we have on RHEL4). Then:

 cp openssl-0.9.7a.tar.gz /usr/local/src/
 cd /usr/local/src/
 gunzip openssl-0.9.7a.tar.gz
 tar xvf openssl-0.9.7a.tar
 cd openssl-0.9.7a

Configure for Sparc Solaris (32-bit version):

 ./Configure --prefix=/usr/local solaris-sparcv9-cc

Configure for Sparc Solaris (64-bit version):

 ./Configure --prefix=/usr/local solaris64-sparcv9-cc

Configure for Opteron Solaris (32-bit version):

 ./Configure --prefix=/usr/local --openssldir=/usr/local/share solaris-x86-cc
       other possible flags:
                 solaris-x86-gcc
                 solaris64-x86_64-cc

Compile and install:

 gmake
 gmake install