Fixed it by building a shared library and making sure the proper links were in
/usr/local/ssl/lib.
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org]
On Behalf Of Mike Peters
Sent: Sunday, June 19, 2011 11:10 AM
To: openssl-users@openssl.org
Subject: Can't load openssl-1.0.0d when building php-5.3.6 on CentOS x64
I get the following error:
/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64cpuid.o): relocation
R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a
shared object; recompile with -fPIC
I built openssl by:
./config no-shared -fPIC