Im trying to compile openssl-0.9.8a on HPUX 11.00 with gcc version 3.2 and GNU make version 3.80. I have reviewed and tried many of the options listed in the openssl-dev msg thread and the request-tracker, all to no avail.
I am able to successfully compile without the shared option; however, I am trying to link in libssh2 for PHP and it returns a message as follows. /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file /var/opt/vista/ssl/lib/libcrypto.a(md5_dgst.o) - shared library must be position independent. Use +z or +Z to recompile. Which infers that this needs to be a shared, rather than static, library. The configuration command Im using is: ./Configure no-threads shared hpux-parisc2-gcc no-asm no-zlib --prefix=/var/opt/vista/ssl I do have zlib installed; but to simplify, I removed it. Ive tried with both the no-asm, and the no-threads, and without (a suggestion by someone in a thread) neither of which were successful. This is a PA- RISC 2 server, so that configuration option seemed the logical choice. Im hopeful there is something obvious in the linker that is causing this issue, and it has been seen before, but somehow I missed it in the threads. Ive attempted to manually link but am unable as it appears most of the files are not compiled. Attached is the output of make report. Below is the exit error message. make[5]: Entering directory `/var/opt/vista/openssh/openssl-0.9.8a/apps' /usr/ccs/bin/ld: Unsatisfied symbols: PKCS8_encrypt (first referenced in pkcs8.o) (code) SSL_connect (first referenced in s_time.o) (code) SSL_alert_type_string_long (first referenced in s_cb.o) (code) X509_set_pubkey (first referenced in req.o) (code) X509_REQ_get_pubkey (first referenced in req.o) (code) SSL_get_current_cipher (first referenced in s_server.o) (code) -------NOTE THESE CONTINUE FOR SEVERAL HUNDRED LINES---------- ~ -------------------------------------------------------------- lh_free (first referenced in openssl.o) (code) EC_GROUP_set_asn1_flag (first referenced in ecparam.o) (code) OBJ_nid2obj (first referenced in ca.o) (code) d2i_DHparams (first referenced in dh.o) (code) DH_new (first referenced in dh.o) (code) X509_get_serialNumber (first referenced in req.o) (code) collect2: ld returned 1 exit status make[5]: *** [link_app.hpux] Error 1 make[5]: Leaving directory `/var/opt/vista/openssh/openssl-0.9.8a/apps' make[4]: *** [openssl] Error 2 make[4]: Leaving directory `/var/opt/vista/openssh/openssl-0.9.8a/apps' make[3]: *** [build_apps] Error 1 make[3]: Leaving directory `/var/opt/vista/openssh/openssl-0.9.8a' make[2]: *** [apps] Error 2 make[2]: Leaving directory `/var/opt/vista/openssh/openssl-0.9.8a/test' make[1]: *** [tests] Error 2 make[1]: Leaving directory `/var/opt/vista/openssh/openssl-0.9.8a' Thanks for any help, Ryan ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]