From: Tom Lane <tgl@sss.pgh.pa.us>
To: info@online411.com
Cc: pgsql-interfaces@postgresql.org <pgsql-interfaces@postgresql.org>
Subject: Re: DBI and Pg error
Date: Tue, 02 May 2000 23:53:12 -0400
Message-ID: <6081.957325992@sss.pgh.pa.us> (raw)
In-Reply-To: <200005022241.PAA04772@ns1.cheetah.net>
References: <200005022241.PAA04772@ns1.cheetah.net>
jim <info@online411.com> writes:
> install_driver(Pg) failed" Can't load '/usr/libdata/perl5/site_perl/i386-bsdos/auto/DBD/Pg/Pg.so'
> for module DBD::Pg: File not found at /usr/libdata/perl5/5.00503/i386-bsdos/DynaLoader.pm line 169.
> I checked the two files, they all exist!
Dynamic library loaders are notorious for the poor quality of their
error messages :-(. I'll bet that the file that's not being found is
not either of the files mentioned above, but a shared library that they
depend on. In other words, either libpq.so or a library that it depends
on in turn. Since it works for you locally, a good bet is that your CGI
environment doesn't have the right setting of LD_LIBRARY_PATH (or
whatever environment variable determines shared-library search path
on your platform).
regards, tom lane
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, info@online411.com
Subject: Re: DBI and Pg error
In-Reply-To: <6081.957325992@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