Hello, [ 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 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); \ fi 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 <unknown> 0x290 libcrypto.a(obj_dat.o) <unknown> 0x294 libcrypto.a(obj_dat.o) <unknown> 0x298 libcrypto.a(obj_dat.o) <unknown> 0x29c libcrypto.a(obj_dat.o) <unknown> 0x4b0 libcrypto.a(obj_dat.o) <unknown> 0x4b4 libcrypto.a(obj_dat.o) <unknown> 0x4b8 libcrypto.a(obj_dat.o) <unknown> 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) blowfish(ptr) compiler: cc -KPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -xtarget=ultra -xarch=v8plus -xO5 -xstrconst \ -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DMD5_ASM OPENSSLDIR: "/vob/tools_SunOS/ssl" In any case, the build produces archive libraries, but not shared ones: openssl> find . -name libcrypto.\* ./libcrypto.a ./libcrypto.pc ./libcrypto.so openssl> find . -name libssl.\* ./libssl.a ./libssl.pc ./libssl.so openssl> ll ./libssl.so lrwxrwxrwx 1 mgirod iona 15 Oct 16 10:48 ./libssl.so -> \ libssl.so.0.9.8 openssl> ll ./libssl.a -rw-rw-r-- 1 mgirod iona 536436 Oct 16 10:47 ./libssl.a openssl> cat ./libssl.pc prefix=/vob/tools_SunOS exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: OpenSSL Description: Secure Sockets Layer and cryptography libraries Version: 0.9.8c Requires: 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... Thanks, Marc ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]