Compiling Net::SSLeay on HPUX

Don Harrop Don Harrop <don@nis4u.com>
Wed, 6 Dec 2000 17:06:55 -0700 (MST)


Does anyone know what kind of error this is?

>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?

Don