libpq.so.3 not found error while use Perl DBI - Mailing list pgsql-general

From jake@omnimode.com (jake johnson)
Subject libpq.so.3 not found error while use Perl DBI
Date
Msg-id 8897a0de.0310100820.7e111be5@posting.google.com
Whole thread Raw
List pgsql-general
I'm using Postgresql 7.3.4, FreeBSD 4.7, & Apache 2.0.47.  I have a
perl script which uses the DBI module and it works great from the
command line as long as I have '/usr/local/pgsgl/lib' in
LD_LIBRARY_PATH or else it would give me an 'libpq.so.3 not found'
error.

Now, I've turned that perl script into a cgi and from the apache error
log I see the 'libpq.so.3 not found' message.  My own user's
LD_LIBRARY_PATH is set correctly of course but could it be because the
apache user's LD_LIBRARY_PATH isn't set properly that this is
occurring?  I believe I've used the ldconfig and other tools to set
the library path but I'm not getting anywhere.  Can anyone help?

- Jake

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Excute comnands OS from plpgsql
Next
From: mvppetlab@yahoo.com (Chris)
Date:
Subject: Re: Can SQL return a threaded-comment-view result set?