My apologies to the list about the empty posted message I accidently sent earlier. Forgive my fat fingers!
I'm am in the process of upgrading to to OpenSSL 0.9.7d. Previously I posted a question about an openssl failure during SSL_connect/accept sequence in 64-bit mode -- decryption failed or bad record mac -- which seems to be resolved in 0.9.7d. I've looked through the archives to no avail for a hint about this problem
I'm trying to cover all my 64-bit platforms and I'm running into a problem using the configure type aix64-cc. The target 'do_aix-shared' in the top level Makefile.ssl neglects two command operands that seem to be required. Without these operands to clarify 64-bit objects, the do_aix-shared target fails to build libcrypto.so and libssl.so. I'm running AIX Compiler V5 on an AIX 5.1 system.
This sequence beginning at line 550 in Makefile.ssl (from Makefile.org) results in the linker complaining about no exported symbols found:
550 do_aix-shared:
551 libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
552 if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \
553 libs="$(LIBKRB5) $$libs"; \
554 fi; \
555 ( set -x; \
556 ld -r -o lib$$i.o $(ALLSYMSFLAG) lib$$i.a &
amp;& \
557 ( nm -Pg lib$$i.o | grep ' [BD] ' | cut -f1 -d' ' > lib$$i.exp; \
558 $(SHAREDCMD) $(SHAREDFLAGS) \
559 -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} lib$$i.o \
560 $$libs ${EX_LIBS} ) ) \
561 || exit 1; \
562 libs="-l$$i $$libs"; \
563 done
I added
-b64 to the ld command on line 556
-X 64 to the nm command on line 557
Both of these indicate 64-bit object handling. The build works fine with these options, but fails without them.
Has anyone run into this or something similar. My main point is: AIX 64-bit builds must have worked 'out of the box' somewhere. If you got it to work, what did you do short of modifying the standard make files? I would rathter not touch the OpenSSL make files if possible. Are there patches (I could not find mention this kind of problem)? Is this a brand new situation that no one has seen?
Thanks.
Dave McLellan --Consulting Software Engineer - SPEA Engineering
EMC Corporation
228 South St. Mail Stop: 228 LL/AA-24
Hopkinton, MA 01748 USA
+1-508-249-1257 F: +1-508-497-8030 [EMAIL PROTECTED]