pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: woho@ieee.org
Cc: PostgreSQL Interface List <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] Pg from CGI in Apache
Date: Sun, 14 Feb 1999 14:54:29 -0500
Message-ID: <10665.919022069@sss.pgh.pa.us> (raw)
In-Reply-To: <36C727B7.8FA10E0B@w3plus.de>

Wolfgang Hottgenroth <whottgen@w3plus.de> writes:
> I tryed to use some functions from the Pg-module from a CGI-script,
> started on a Apache-server. I always get only an error-message, that
> Dynaloader can not resolve the symbols from Pg, althrough I am able to
> start the scripts directly from the shell without problems.
> Did anyone knows problems like that?

Lack of an appropriate environment variable setting in the CGI context
is probably the problem --- LD_LIBRARY_PATH (or your platform's
equivalent) is the first thing I'd check for.  You may also find that
your scripts are depending on other things in your shell environment,
like PGHOST, PGPASSWORD, etc...

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <10665.919022069@sss.pgh.pa.us>
Permalink:  ../10665.919022069@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10665.919022069@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, woho@ieee.org
  Subject: Re: [INTERFACES] Pg from CGI in Apache
  In-Reply-To: <10665.919022069@sss.pgh.pa.us>

* 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