Re: [INTERFACES] Pg from CGI in Apache - Mailing list pgsql-interfaces

From Matthew Hagerty
Subject Re: [INTERFACES] Pg from CGI in Apache
Date
Msg-id 4.1.19990214145303.009d7180@mail.venux.net
Whole thread Raw
In response to Pg from CGI in Apache  (Wolfgang Hottgenroth <whottgen@w3plus.de>)
List pgsql-interfaces
Try adding these two lines to your apache httpd.conf file:

SetEnv LD_LIBRARY_PATH /usr/local/pgsql/lib
PassEnv LD_LIBRARY_PATH

Change "/usr/local/pgsql/lib" to where ever your postgres lib directory is.

Matthew


At 08:44 PM 2/14/99 +0100, Wolfgang Hottgenroth wrote:
>Hi,
>
>
>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?
>
>
>Wolfgang Hottgenroth
>
>
>


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] (libpq question) Holy cow, what's all this fluff?!
Next
From: "Ken J. Wright"
Date:
Subject: ODBC authentication failure