problem in module Pg with Apache, Perl and SSL - Mailing list pgsql-admin

From BELLIARD Francois - FT.BD/FTRD/DRHG/RSCL
Subject problem in module Pg with Apache, Perl and SSL
Date
Msg-id 3CBD957A.E006A609@rd.francetelecom.com
Whole thread Raw
List pgsql-admin
Hello

I have installed Postgresql on a Solaris8 Server with:
    - Apache 1.3.23,
    - mod_ssl-2.8.7-1.3.23
    - openSSL 0.9.6c,
    - PERL 5.6.1

When a Perl Cgi script tries to load the "Pg" module  (use Pg;  in the script),
there is the following error in the Apache Error Log :

Can't load '/usr/local/perl-5.6.1/lib/site_perl/5.6.1/sun4-solaris/auto/Pg/Pg.so' for module Pg: ld.so.1: /usr/local/perl-5.6.1/bin/perl: fatal: libssl.so.0.9.6: open failed: No such file or directory at /usr/local/perl-5.6.1/lib/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at /home/www/smada/private/cgi-bin/latestChanges.pl line 2
Compilation failed in require at /home/www/smada/private/cgi-bin/latestChanges.pl line 2.
BEGIN failed--compilation aborted at /home/www/smada/private/cgi-bin/latestChanges.pl line 2

It looks like Perl is unable to load the module Pg for a reason that i don't understand.
All the libraries and modules specified in the error message exist on the server disk.
Is it a compilation or configuration problem ?
Thank you for your help.

-- 

François BELLIARD
FTR&D/DRHG/RSCL - (33) (0)2 96 05 22 51
 

pgsql-admin by date:

Previous
From: Francisco Solari
Date:
Subject: Re:
Next
From: Morten Sickel
Date:
Subject: Re: problem in module Pg with Apache, Perl and SSL