problem in module Pg with Apache, Perl and SSL

From: "BELLIARD Francois - FT(dot)BD/FTRD/DRHG/RSCL" <fb001(at)rd(dot)francetelecom(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: problem in module Pg with Apache, Perl and SSL
Date: 2002-04-17 15:32:10
Message-ID: 3CBD957A.E006A609@rd.francetelecom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-admin by date

  From Date Subject
Next Message Morten Sickel 2002-04-17 15:46:01 Re: problem in module Pg with Apache, Perl and SSL
Previous Message Francisco Solari 2002-04-17 13:01:45 Re: