Re: [INTERFACES] Pg from CGI in Apache

From: Matthew Hagerty <matthew(at)venux(dot)net>
To: woho(at)ieee(dot)org, PostgreSQL Interface List <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] Pg from CGI in Apache
Date: 1999-02-14 19:54:43
Message-ID: 4.1.19990214145303.009d7180@mail.venux.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>
>

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ken J. Wright 1999-02-14 19:56:32 ODBC authentication failure
Previous Message Tom Lane 1999-02-14 19:54:29 Re: [INTERFACES] Pg from CGI in Apache