1)Unless I understood you correctly, could you please send me the complete implementation for aix-shared which you want. I modified it as below (SHARED_LDFLAGS is already configured as -q64) but I could have misunderstood you.
************************************************************ # AIX: $(CC) ALLSYMSFLAG=-bnogc #SHAREDFLAGS=${SHARED_LDFLAGS} -G -bE:lib$$i.exp -bM:SRE SHAREDFLAGS=${SHARED_LDFLAGS} SHAREDCMD=$(CC) do_aix-shared: libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ ( set -x; \ ( \ $(SHAREDCMD) $(SHAREDFLAGS) -qmkshrobj \ -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} lib$$i.o \ -bautoexp -bnogc \ $$libs ${EX_LIBS} ) ) \ || exit 1; \ libs="$$libs -l$$i"; \ done ************************************************************ which results in ************************************************************ + cc -q64 -qmkshrobj -o libcrypto.so.0.9.7 libcrypto.a -bautoexp -bnogc -L. ld: 0711-317 ERROR: Undefined symbol: .odm_initialize ld: 0711-317 ERROR: Undefined symbol: CuDv_CLASS ld: 0711-317 ERROR: Undefined symbol: .odm_get_list ld: 0711-317 ERROR: Undefined symbol: .odm_free_list ld: 0711-317 ERROR: Undefined symbol: .getattr ld: 0711-317 ERROR: Undefined symbol: .odm_terminate ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make[3]: *** [do_aix-shared] Error 1 ************************************************************ 2)On AIX modulenames contain *.so.0.9.7 as well as on other platforms. However, it is easy to change Makefile so that they were named just *.so which I did. It is then possible to check version compatibility for libcrypto.so & libssl.so. As I said, shared libraries for versions 0.9.6 and 0.9.7 seem to be compatible on solaris and linux but not on AIX. Vladimir -----Original Message----- From: Andy Polyakov via RT [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 4:23 PM To: Shklover, Vladimir Cc: [EMAIL PROTECTED] Subject: Re: [openssl.org #463] PATCH Wrong button again? I wasn't ready with it... > > It builds shared libraries indeed! > > Can you test one last thing. Assuming that you have the tree configured > with './Configure aix64-cc shared' left. Would following work: > > cc -q64 -Wl,-bnogc,-bautoexp, 'cc -q64 -qmkshrobj -o libcrypto.so libcrypto.a -bautoexp -bnogc' Try to run with -# so that it shows the command lines it invokes. Try to make it work... > > The remaining problem for aix shared libraries: versions are not > > compatible. On other platforms .so modulenames are complemented with version number, e.g. libcrypto.so.0.9.7. I don't know it's not the case on AIX, but we'll address it upcoming 0.9.7a. A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]