Tag: -fPIC


How to install OpenSSL @ Debian 5.0 i686

March 16th, 2010 — 2:03am

Requirement

GNU C Compiler and other small packages required

debian:~# apt-get install gcc build-essential automake autoconf autoreconf libncurses5-dev

Package

debian:~# wget http://www.openssl.org/source/openssl-0.9.8m.tar.gz

Installation

debian:~# tar -zxvf openssl-0.9.8m.tar.gz
debian:~# cd openssl-0.9.8m
debian:~/openssl-0.9.8m# ./config -fPIC
debian:~/openssl-0.9.8m# make depend
debian:~/openssl-0.9.8m# make install

Test

debian:~/openssl-0.9.8m# /usr/local/ssl/bin/openssl version -a
OpenSSL 0.9.8m 25 Feb 2010
built on: Mon Mar 15 21:47:51 MSK 2010
platform: linux-elf
options:  bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int) blowfish(idx)
compiler: gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fPIC -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
OPENSSLDIR: "/usr/local/ssl"

3 comments » | Linux

Back to top