There are pre-compiled supported versions of openssl 0.9.8h for 11.11 at: 
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=OPENSSL11I
These depots include the source and instructions on how to make openssl on 
HP-UX if you need to.
-Mike

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abdelmonam Kouka
Sent: Thursday, August 28, 2008 11:34 PM
To: [email protected]
Subject: Re: Building openssl-0.9.8h under HP-UX 11.11 using gcc 4.2.3

I think the problem is with the "shared" option of "./config" command, in fact 
I build openssl before in the same plateforme but without this option, and then 
when I tried to build openldap (my principal aim) I got this error:

/usr/ccs/bin/ld: Invalid loader fixup in text space needed in output file for 
symbol "X509_NAME_free" in input file 
"/usr/local/ssl//lib/libssl.a(ssl_lib.o)"collect2: ld returned 1 exit status

So I thought that the problem is that openldap can't find shared library of 
openssl, so I decided to re-build openssl using this option and then it 
failed!!!
2008/8/28 Juraj Ivančić <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
Abdelmonam Kouka wrote:
I am new in this mailing list and into openssl. I tried to build openssl-0.9.8h 
under HP-UX 11.11 using gcc 4.2.3 by following these instructions:
*./config shared*
*make update*
*make*
*make test*
*make install

*All is well, but when I execute make I got this error:

//many other lines
make -f ../Makefile.shared -e \
               APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o 
dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o  ca.o pkcs7.o crl2p7.o 
crl.o  rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o  x509.o genrsa.o gendsa.o 
s_server.o s_client.o speed.o  s_time.o apps.o s_cb.o s_socket.o app_rand.o 
version.o sess_id.o  ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o 
engine.o  ocsp.o prime.o cms.o" \
               LIBDEPS=" $LIBRARIES -Wl,+s -ldld" \
               link_app.${shlib_target}
/usr/ccs/bin/ld: Unsatisfied symbols:
  PKCS8_encrypt (first referenced in pkcs8.o) (code)
  X509_set_pubkey (first referenced in req.o) (code)
//many other lines
  X509_get_serialNumber (first referenced in req.o) (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
When building from source on HP-UX the following site is priceless:

http://hpux.connect.org.uk/

They have many prebuilt libraries and utilities, and also have sources which 
are tweaked a bit to make them compile on HP-UX.
It is possible that their variant of OpenSSL will compile without problems.

http://hpux.connect.org.uk/hppd/hpux/Languages/openssl-0.9.8h/


Hope this helps,

Juraj Ivančić


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       
[email protected]<mailto:[email protected]>
Automated List Manager                           [EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>



--
------------------------------------------------
عبد المنعم كوكة
Abdelmonam Kouka
Software Engineer
GNU/Linux user #450141
GPG Fingerprint: EC21 1E4E 5B0C E4E7 0D64 3305 0D62 75C9 2C15 16E0
================================================
"Some people see things as they are and say why.
I dream things that never were and say why not?"
[George Bernard Shaw]
================================================
http://www.ubuntume.com/
http://arabeyes.org/
http://www.ubuntu-tn.org/

Reply via email to