Hi Josh,
Thanks for you reply. I did what you mentioned, re-installing openssl with
./config --openssldir=/apps/openssl
and using " perl Makefile.PL /apps/openssl " before make.
I got the following output on make.
Melven
/psoft/scripts/lwp/Crypt-SSLeay-0.51(NO SID)$ perl Makefile.PL
/apps/openssl
Found OpenSSL (version OpenSSL 0.9.7) installed at /apps/openssl
================================================
BUILD INFORMATION
================================================
ssl dir: /apps/openssl
libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: /apps/openssl/include
ssl header: openssl/ssl.h
ssl candidate: /apps/openssl; /apps/openssl/include/openssl; OpenSSL
0.9.7
================================================
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lRSAglue
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
/psoft/scripts/lwp/Crypt-SSLeay-0.51(NO SID)$
/psoft/scripts/lwp/Crypt-SSLeay-0.51(NO SID)$ make
cc -c -I/apps/openssl/include +z -D_HPUX_SOURCE
-I/usr/local/include -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2
+Onolimit -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" +Z
"-I/apps/perl/lib/5.8.0/PA-RISC2.0/CORE" SSLeay.c
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration
of "sendfile" with a different storage class specifier: "sendfile" will
have internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration
of "sendpath" with a different storage class specifier: "sendpath" will
have internal linkage.
Running Mkbootstrap for Crypt::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.sl
LD_RUN_PATH="/apps/openssl/lib" /usr/bin/ld -b -s -a shared
SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.sl
-L/apps/openssl/lib -lssl -lcrypto
/usr/bin/ld: Can't find library: "ssl"
*** Error exit code 1
-----Original Message-----
From: Josh Chamas [mailto:[EMAIL PROTECTED]
Sent: Saturday, 24 April 2004 4:07 AM
To: Chok, Melven
Cc: '[EMAIL PROTECTED]'; Baras, Gal
Subject: Re: [Crypt::SSLeay] compile problems on HP-UX
Chok, Melven wrote:
> Hello,
>
> /psoft/scripts/lwp/Crypt-SSLeay-0.51(NO SID)$ make
> I'm trying to compile on HP-UX B.11.11 U 9000/800 and I'm getting this
> error. Would you be able to shed some light as to what happened?
> ...
> The perl installation on this machine is /apps/perl
> and the installation of openssl-0.9.7d is in /apps/openssl
>
> I've modified the Makefile.PL with these changes
>
Without modifying the Makefile.PL, I would try running it as:
perl Makefile.PL /apps/openssl
Your openssl should be built like:
./config --openssldir=/apps/openssl
Try these things and see if you get the same problems.
Regards,
Josh
________________________________________________________________________
Josh Chamas, Founder | NodeWorks - http://www.nodeworks.com
Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
http://www.chamas.com | Apache::ASP - http://www.apache-asp.org