Compiling Net::SSLeay on HPUX

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Buettner
Date:  
Subject: Compiling Net::SSLeay on HPUX
On Dec 6, 5:06pm, Don Harrop wrote:

> >ld: DP relative code in file /usr/local/ssl/lib/libssl.a(s2_meth.o) -
> >shared library must be position independent. Use +z or +Z to recompile.
>
> I've wanted to get Webmin running on these bad boy HP's that I work with
> running through https. So far I've had to grab and compile perl, gcc and
> binutils (for the two boxes that don't have an ansi C compiler), Openssl,
> and webmin. Everything works right now except Net::SSLeay so connections
> to webmin are are limited with http. Openssl compiled fine. I've even
> got OpenSSH working so I know Openssl is good. Why Net::SSLeay craps out
> on the linker is the only stumbling block I have left. Any ideas?


Did you build libssl.a yourself? If so, which compiler did you
use? Did you specify -fpic (for gcc) in compile options?

Kevin