Re: DBI and Pg error
От | Tom Lane |
---|---|
Тема | Re: DBI and Pg error |
Дата | |
Msg-id | 6081.957325992@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | DBI and Pg error (jim <info@online411.com>) |
Список | 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 по дате отправления: