From: Siddharth Rath (sirath) <sirath@cisco.com>
To: pgsql-admin@postgresql.org
Subject: Need your help (frustrating issue)
Date: Thu, 20 Nov 2003 13:08:42 -0800
Message-ID: <023001c3afaa$7a4d1900$d51da143@amer.cisco.com> (raw)
Hi ,
I'm facing an issue with Postgresql 7.3.4.
I've installed DBI version 1.37 & DBD::Pg (1.22) on a Solaris 8
machine w/ perl 5.6.1 .The basic
problem is I can connect to Postgres just fine from the command line,
but it
craps out when I try from a CGI with the below error message:
install_driver(Pg) failed: Can't load
'/apps/systran/perl/lib/sun4-solaris/auto/DBD/Pg/Pg.so' for module
DBD::Pg: ld.so.1: /usr/local/bin/perl: fatal: libgcc_s.so.1: open
failed: No such file or directory at
/usr/local/perl5.6.1/lib/sun4-solaris/DynaLoader.pm line 206.
at (eval 1) line 3
I got an link in google that says :
Christoph Lange <[PRIVACY PROTECTION]> writes: > install_driver(Pg)
failed: Can't load >
'/soft/perl/lib/site_perl/sun4-solaris/auto/DBD/Pg/Pg.so' for module
DBD::Pg: ld.so.1: /soft/local/bin/perl: fatal: > libpq.so: open
failed: No such file or directory!
Probably you have not told ldconfig where to look for libpq.so. The
directory containing that shlib needs to be part of the system search
path for shlibs (/etc/ld.so.conf I think). regards, tom lane
It's Solaris, so there's no ldconfig to work on the fly's of libraries
.I did put the LD_LIBRARY_PATH correctly in the cgi itself , hoping
that it would work out, but it didnt help me out.
Can you please help me out in resolving it.
Thanx and regards
Sidd
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: sirath@cisco.com
Subject: Re: Need your help (frustrating issue)
In-Reply-To: <023001c3afaa$7a4d1900$d51da143@amer.cisco.com>
References: <023001c3afaa$7a4d1900$d51da143@amer.cisco.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