[ 3rd attempt to post. Hopefully won't come in multiple copies. ]

I try to build and install on various platforms,
(Solaris sparcv9, HP-UX, AIX), to a non-standard path,
for use with subversion.
A first attempt showed me that svn expected shared libraries,
so that I try to produce them, first on Solaris.
My build fails at link time with 'text relocation' errors,
which doesn't prevent 'make test' from succeeding!?

./config --prefix=/vob/tools_SunOS zlib shared
make test

The first errors (11 similar sections, all starting with the same unknown
offsets, followed with varying symbols):

make[2]: Leaving directory `/vob/tools_src/openssl/crypto/pqueue'
if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
(cd ..; make libcrypto.so.0.9.8); \
make[2]: Entering directory `/vob/tools_src/openssl'
make[3]: Entering directory `/vob/tools_src/openssl'
make[4]: Entering directory `/vob/tools_src/openssl'
Text relocation remains referenced
against symbol offset in file
0x290 libcrypto.a(obj_dat.o)
0x294 libcrypto.a(obj_dat.o)
0x298 libcrypto.a(obj_dat.o)
0x29c libcrypto.a(obj_dat.o)
0x4b0 libcrypto.a(obj_dat.o)
0x4b4 libcrypto.a(obj_dat.o)
0x4b8 libcrypto.a(obj_dat.o)
0x4bc libcrypto.a(obj_dat.o)
memcpy 0x124 libcrypto.a(obj_lib.o)
memcpy 0x1f4 libcrypto.a(obj_lib.o)

One other error before a similar section:

ld: fatal: relocations remain against allocatable but non-writable sections

I looked at the FAQ, but didn't recognize my symptoms.
As far as I can tell, make test succeeds completely, ending in:

make[1]: Leaving directory `/vob/tools_src/openssl/test'
util/opensslwrap.sh version -a
OpenSSL 0.9.8c 05 Sep 2006
built on: Mon Oct 16 07:16:17 EDT 2006
platform: solaris-sparcv9-cc
options: bn(64,32) md2(int) rc4(ptr,char) des(ptr,risc1,16,long) idea(int)
-DDSO_DLFCN -DHAVE_DLFCN_H -xtarget=ultra -xarch=v8plus -xO5 -xstrconst \
OPENSSLDIR: "/vob/tools_SunOS/ssl"

In any case, the build produces archive libraries, but not shared ones:

openssl> find . -name libcrypto.\*
openssl> find . -name libssl.\*
openssl> ll ./libssl.so
lrwxrwxrwx 1 mgirod iona 15 Oct 16 10:48 ./libssl.so -> \
openssl> ll ./libssl.a
-rw-rw-r-- 1 mgirod iona 536436 Oct 16 10:47 ./libssl.a
openssl> cat ./libssl.pc

Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries
Version: 0.9.8c
Libs: -L${libdir} -lssl -lcrypto -lsocket -lnsl -ldl -lz
Cflags: -I${includedir}

I'd be glad if somebody could tell me what I do wrong...

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org