pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: BELLIARD Francois - FT.BD/FTRD/DRHG/RSCL <fb001@rd.francetelecom.com>
To: pgsql-admin@postgresql.org
Subject: problem in module Pg with Apache, Perl and SSL
Date: Wed, 17 Apr 2002 17:32:10 +0200
Message-ID: <3CBD957A.E006A609@rd.francetelecom.com> (raw)

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
 

view thread (8+ messages)  latest in thread

Message-ID: <3CBD957A.E006A609@rd.francetelecom.com>
Permalink:  ../3CBD957A.E006A609@rd.francetelecom.com/
Also on:    postgresql.org/message-id/3CBD957A.E006A609@rd.francetelecom.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: fb001@rd.francetelecom.com
  Subject: Re: problem in module Pg with Apache, Perl and SSL
  In-Reply-To: <3CBD957A.E006A609@rd.francetelecom.com>
  References: <3CBD957A.E006A609@rd.francetelecom.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox