I was able to specify zlib-dynamic and dso on the ./Configure command and got "make" and "make tests" to successfully run past the zlib tests however I was required to put a /usr/lib/libz.so shared object on my system. On our platform we don't have a /usr/lib/libz.so shared object but rather we have /usr/lib/libz.a which contains a libz.so object (similar to many AIX archive files). Any suggestions for using dso to include zlib compression with the use of /usr/lib/libz.a rather than /usr/lib/libz.so?

--
Ryan Watkins

On 02/11/2013 02:48 PM, Dr. Stephen Henson wrote:
On Mon, Feb 11, 2013, Ryan Watkins wrote:

Hello,

I'm currently building OpenSSL 1.0.0c in an AIX 6.1 runtime
environment (Inside PASE on an IBM i system) and am running into
problems when trying to run the suite of tests that come with
OpenSSL.  Here are the steps I am taking to do for my build:

Verify the following symlinks exist as well as their target files:

     ls -l /usr/include/zconf.h
     ls -l /usr/include/zlib.h
     ls -l /usr/lib/libz.a

./Configure --openssldir=/QOpenSys/QIBM/ProdData/SC1/OpenSSL
zlib-dynamic no-dso no-fips no-hw no-asm no-mdc2 no-seed no-idea
no-rc5 aix-xlc_r shared threads

LIBPATH=/usr/lib make depend
LIBPATH=/usr/lib make

Up until this point everything works fine as far as the build is
concerned.   I then run "make tests" and hit the following snag:

make tests

zlib
804401144:error:2507006C:DSO support routines:DSO_load:functionality
not supported:dso_lib.c:239:
804401144:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not
supported:c_zlib.c:478:
804401144:error:2507006C:DSO support routines:DSO_load:functionality
not supported:dso_lib.c:239:
804401144:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not
supported:c_zlib.c:478:
cmp: EOF on ./p.zlib.clear

I am completely stumped as to what the problem could be here.  Any
suggestions or thoughts?  I guess I'm not sure if I need to specify
something different in my ./Configure command.

Also is there an easy way to run this test (I think it is part of
the testenc test) directly rather than invoking it and running all
the tests in "make tests".

Notes:

I am using the IBM XL C/C++ compiler for AIX and have verified the
libz.a file exists on the system.  We are using zlib 1.2.5 but I
have also tried version 1.2.3 with the same results).  The above
instructions are similar to what we've followed the last few times
we've built previous versions of OpenSSL (0.9.8m most recently).

Well if you use zlib-dynamic it tries to dynamically load the zlib shared
library, however you've also set no-dso which disables the DSO library which
is used to load shared libraries...

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org


--
Ryan Watkins

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to