wavesail has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to get OpenSSL to work on my account. It is hosted on a shared webserver running Solaris 7 and Apache 1.3.3 and I do not have root access.

I unpacked Crypt-OpenSSL-RSA-0.12.tar.gz and I keep getting errors when running Make. Here's what I've tried when running the Makefile.PL:

perl Makefile.PL INSTALLDIRS=site INSTALLSITELIB=/home/USERID/modules/OpenSSL

perl Makefile.PL PREFIX=/home/USERID/modules/OpenSSL

perl Makefile.PL LIB=/home/USERID/modules/OpenSSL PREFIX=/home/USERID/modules/OpenSSL

Here's a copy of what came up in SSH:

venus:/modules/OpenSSL > perl Makefile.PL LIB=/home/USERID/modules/Ope +nSSL PREFIX=/home/USERID/modules/OpenSSL Warning: prerequisite Crypt::OpenSSL::Random 0 not found at (eval 1) l +ine 226. Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Writing Makefile for Crypt::OpenSSL::RSA venus:/modules/OpenSSL > make gcc -c -I/usr/local/include -O -DVERSION=\"0.12\" -DXS_VERSION=\ +"0.12\" -fPIC -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE RSA.c In file included from RSA.xs:5: rsaLib.h:8: openssl/ssl.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `RSA.o' venus:/modules/OpenSSL >
Can somebody please tell me what I'm doing wrong so I can get OpenSSL installed? I've installed several other modules on my account so I know it is possible.

Best Regards,

Jeff

Replies are listed 'Best First'.
Re: Installing OpenSSL On Solaris Without Root Access
by frankus (Priest) on Nov 13, 2001 at 22:25 UTC

    Having issues with Debian of a similar ilk a while back, the library code you require is probably not where it is expected,

      either due to
    • not having root access
    • or Solaris not keeping the libraries in an expected place.

    Installing some modules will not require links to library code, SSL does.

    A place to get a more focussed view on this topic is Perl Porters or checkout here to seee if anyone from Sun has sorted this out.

    --

    Brother Frankus.

    ¤

      Thanks for your response.