On Tue, Nov 07, 2000 at 11:38:21AM -0300, Guillermo Lama wrote:
> I'm trying to generate the dynamic libraries, libcrypto.sl and libssl.sl
> under HP-UX 10.20 using HP C compiler. 
> I've modified the options adding +Z to have PIC position-independent code
> and removing the optimization options from the cc compiler. 
> I've tried to generate the dynimic libraries using cc and ld, and it
> works, but when I execute something that tries to use libssl.sl returns an
> error that is Undefined symbol. 

I think you should consider two options:
- In openssl-0.9.5a and 0.9.6, there is a script the shlib/hpux10-cc.sh.
  I have used is successfully to build OpenSSL with shared libraries.
  Using this technique, you will use the official OpenSSL releases.
- Generic support for HP-UX shared libraries is currently being added
  to the OpenSSL package and is available from the latest snapshots,
  if you configure with the "shared" option.
  This however implies that you use the snaphost source.
If you don't feel ready for adventures, use the first technique :-)

Best regards,
        Lutz
PS If you use the first alternative, please consider changing the
"major" setting in shlib/Makefile.hpux-cc to "major=0.9.6". It will make
upgrading much easier...
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to