Hi guys, I get an error when enabling the shared build on my RH machine. I enable the shared lib build with the following config command:
$ ./Configure shared --prefix=/usr/local/openssl-0.9.9 linux-x86_64
The error I get is the following (only when I build the share libs, the static
libs get build correctly):
[ --==oooOOOooo==-- *OpenSSL SNAP - 20080318* --==ooooOOOOoooo==--]
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
make[2]: Leaving directory
`/home/madwolf/devel/originals/openssl-SNAP-20080318/crypto/ts'
if [ -n "libcrypto.so.0.9.9 libssl.so.0.9.9" ]; then \
(cd ..; make libcrypto.so.0.9.9); \
fi
make[2]: Entering directory
`/home/madwolf/devel/originals/openssl-SNAP-20080318'
make[3]: Entering directory
`/home/madwolf/devel/originals/openssl-SNAP-20080318'
make[4]: Entering directory
`/home/madwolf/devel/originals/openssl-SNAP-20080318'
/usr/bin/ld: libcrypto.a(aes_wrap.o): relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
libcrypto.a(aes_wrap.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [link_a.gnu] Error 1
make[4]: Leaving directory `/home/madwolf/devel/originals/openssl-SNAP-20080318'
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory `/home/madwolf/devel/originals/openssl-SNAP-20080318'
make[2]: *** [libcrypto.so.0.9.9] Error 2
make[2]: Leaving directory `/home/madwolf/devel/originals/openssl-SNAP-20080318'
make[1]: *** [shared] Error 2
make[1]: Leaving directory
`/home/madwolf/devel/originals/openssl-SNAP-20080318/crypto'
make: *** [build_crypto] Error 1
--
Best Regards,
Massimiliano Pala
--o------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager] [EMAIL PROTECTED]
[EMAIL PROTECTED]
Dartmouth Computer Science Dept Home Phone: +1 (603) 397-3883
PKI/Trust - Office 063 Work Phone: +1 (603) 646-9179
--o------------------------------------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature
