Re: DBI and Pg error - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: DBI and Pg error
Date
Msg-id 6081.957325992@sss.pgh.pa.us
Whole thread Raw
In response to DBI and Pg error  (jim <info@online411.com>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 7.0RC2 compile error !
Next
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] Request for 7.0 JDBC status