Compiling Net::SSLeay on HPUX

Kevin Buettner kev@primenet.com
Wed, 6 Dec 2000 17:51:09 -0700


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