Received: from p-mail1.rd.francetelecom.com (p-mail1.rd.francetelecom.com [193.49.124.31]) by postgresql.org (Postfix) with SMTP id BEF314759BA for ; Wed, 17 Apr 2002 11:32:14 -0400 (EDT) Received: by p-biset.rd.francetelecom.fr with Internet Mail Service (5.5.2655.55) id <2X2P61TR>; Wed, 17 Apr 2002 17:32:03 +0200 Received: from rd.francetelecom.com (lsun251.rd.francetelecom.fr [10.193.21.11]) by p-grive.rd.francetelecom.fr with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2GC6TBM6; Wed, 17 Apr 2002 17:31:56 +0200 Message-ID: <3CBD957A.E006A609@rd.francetelecom.com> Date: Wed, 17 Apr 2002 17:32:10 +0200 From: "BELLIARD Francois - FT.BD/FTRD/DRHG/RSCL" Organization: FT.BD/FTRD/DRHG/RSCL X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: problem in module Pg with Apache, Perl and SSL Content-Type: multipart/alternative; boundary="------------B7CF7B1EEA31B3B31FCCB82B" X-Archive-Number: 200204/161 X-Sequence-Number: 4049 --------------B7CF7B1EEA31B3B31FCCB82B Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --------------B7CF7B1EEA31B3B31FCCB82B Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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
  --------------B7CF7B1EEA31B3B31FCCB82B--