Hello,
Here's an update for the PROBLEMS file. After wrestling with this issue
for the last day or so, I've been able to cajole the test suite into
passing all tests after building OpenSSL 0.9.7e as shared libs on SCO
Openserver 5.0.6 using gcc. See the patch below for details (it's likely
not correct for all cases, but it works for me - and I won't pretend to
know why it works :-)
As a sanity test, I recompiled OpenSSH 3.9p1 against the new shared
OpenSSL libraries, and it seems to work fine. However, I'm still having
trouble using it in PostgreSQL 8.0.1 (which only seems to want to link to
shared OpenSSL libs, at least on sco5 -- the reason why I did this in the
first place). So user beware. That said, I'm not yet sure if it's a
Postgres or OpenSSL issue, since I got the same error both before (don't
ask) and after fixing the OpenSSL shared libraries to pass the test suite.
That error is:
% psql <...>
psql: SSL SYSCALL error: No such file or directory
Anyway, for reference, here are the versions of the build tools used:
# uname -a ; gcc -v ; ld -V
SCO_SV fakename 3.2 5.0.6 i386
Reading specs from
/usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/specs
gcc version 2.95.2 19991024 (release)
SCO UNIX Development System Release 5.1.2A 27Jul00
Jason
patch:
diff -ur openssl-0.9.7e/Makefile.org openssl-0.9.7e.sco5.shared/Makefile.org
--- openssl-0.9.7e/Makefile.org Tue Sep 28 16:52:14 2004
+++ openssl-0.9.7e.sco5.shared/Makefile.org Tue Feb 15 11:12:51 2005
@@ -437,8 +437,8 @@
OBJS="$${OBJS} `grep /$$obj allobjs`" ; \
done ; \
set -x; ${CC} ${SHARED_LDFLAGS} \
- -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ -shared -Wl,-z,text -o
lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ -Wl,-h,lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
$${OBJS} $$libs ${EX_LIBS} ) || exit 1; \
libs="-l$$i $$libs"; \
done; \
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]