> 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
'a local symbol'? That's not very helpful message... In either case, I bet aes_wrap.o is left after static build. Run 'make clean' or even '(cd crypto/aes; make clean)' followed by 'make'. One can wonder how come all other modules get recompiled, but not aes_wrap.o. Someone apparently forgot to generate dependencies for aes_wrap.o in crypto/aes/Makefile. Meanwhile stick to 'make clean'. A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
