Received: from sss2.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id XAA40272 for ; Tue, 2 May 2000 23:53:23 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss2.sss.pgh.pa.us (8.9.3/8.9.3) with ESMTP id XAA06084; Tue, 2 May 2000 23:53:12 -0400 (EDT) To: info@online411.com cc: "pgsql-interfaces@postgresql.org" Subject: Re: DBI and Pg error In-reply-to: <200005022241.PAA04772@ns1.cheetah.net> References: <200005022241.PAA04772@ns1.cheetah.net> Comments: In-reply-to jim message dated "Tue, 02 May 2000 15:51:17 -0800" Date: Tue, 02 May 2000 23:53:12 -0400 Message-ID: <6081.957325992@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200005/45 jim 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