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: Nigel J. Andrews <nandrews@investsystems.co.uk>
Cc: Pgsql-Admin (E-post) <pgsql-admin@postgresql.org>
Subject: Re: problem in module Pg with Apache, Perl and SSL
Date: Thu, 18 Apr 2002 16:38:00 +0200
Message-ID: <3CBEDA48.517244A2@rd.francetelecom.com> (raw)
References: <Pine.LNX.4.21.0204171658100.20382-100000@ponder.fairway2k.co.uk>

The web server is not chrooted and when Apache is started, the
LD_LIBRARY_PATH variable points to all the directories containing the
libraries 
  

"Nigel J. Andrews" wrote: 


On Wed, 17 Apr 2002, Morten Sickel wrote: 

> BELLIARD Francois wrote: 
> [Snip] 
> >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 : 
> [Snip] 
> 
> I cannot find any 'Pg' module at CPAN, but if you are using the 
DBD-Pg, you 
> are not supposed to have any 'use Pg;' in your code, but rather 
> use DBI; 


Or of course he could be using the Pg module :) 


As for the problem of not finding the library file. You say they exist, 
you 
presumably have checked they exist at the paths in the root filesystem 
the 
error message mentions. Is your web server/cgi-bin program running in a 
chroot 
box? 


-- 
Nigel J. Andrews 
Director 


--- 
Logictree Systems Limited 
Computer Consultants 


---------------------------(end of broadcast)---------------------------

TIP 6: Have you searched our list archives? 


http://archives.postgresql.org <http://archives.postgresql.org; 


-- 



François BELLIARD

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

view thread (8+ messages)  latest in thread

Message-ID: <3CBEDA48.517244A2@rd.francetelecom.com>
Permalink:  ../3CBEDA48.517244A2@rd.francetelecom.com/
Also on:    postgresql.org/message-id/3CBEDA48.517244A2@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, nandrews@investsystems.co.uk
  Subject: Re: problem in module Pg with Apache, Perl and SSL
  In-Reply-To: <3CBEDA48.517244A2@rd.francetelecom.com>
  References: <Pine.LNX.4.21.0204171658100.20382-100000@ponder.fairway2k.co.uk> <3CBEDA48.517244A2@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