Operating System - HP-UX
1753400 Members
7423 Online
108792 Solutions
New Discussion

Perl - SSLeay Compile Problem

 
RON FLOLID
Occasional Contributor

Perl - SSLeay Compile Problem

I'm trying to build the Net_SSLeay module on a HP-UX 11.0 system using the HP Ansi C compiler. The perl running on this system is 5.6.1 built from source using the Ansi C compiler. I need SSL support, hence the need to compile and load SSLeay. I have OpenSSL version 9.6a loaded and verified. Now for the problem:
When I try to buid the SSLeay, the make fails with the following message:

# perl Makefile.PL
Checking for OpenSSL-0.9.6a or newer...
You have OpenSSL-0.9.6a installed in /usr/local/ssl
Writing Makefile for Net::SSLeay
# make install
cc -c -I/usr/local/ssl/include -D_HPUX_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" +z -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE SSLeay.c
Running Mkbootstrap for Net::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Net/SSLeay/SSLeay.sl
LD_RUN_PATH="/usr/local/ssl/lib" ld -b +vnocompatwarnings -L/usr/local/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.sl -L/usr/local/ssl -L/usr/local/ssl/lib -lssl -lcrypto
ld: Invalid loader fixup in text space needed in output file for symbol "$005C0032" in input file "/usr/local/ssl/lib/libssl.a(ssl_lib.o)"
*** Error exit code 1

I would really appreciate any and all comments or suggestions.

PS. I've tried to build the OpenSSL with the "+z" option and have the save result.