pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedTrouble with DBD-Pg
2+ messages / 2 participants
[nested] [flat]
* Trouble with DBD-Pg
@ 2001-04-18 17:34 Christoph Lange <lucky78@gmx.net>
2001-04-19 16:38 ` Re: Trouble with DBD-Pg Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Lange @ 2001-04-18 17:34 UTC (permalink / raw)
To: pgsql-admin
Hi experts,
I am trying to replace another database with PostgreSQL in an existing
CGI-Perl-script. Unfortunately the following failure message stopped my enthusiasm
right at the beginning.
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!
Might this problem be due to the fact that I installed DBD-Pg 0.95 "for" a
PostgreSQL-database which was running under my private directory. The current
PostgreSQL-database (7.0.3) the CGI-Perl-script is supposed to use runs
under another directory.
Do the Perl-%ENV-hashs have something to do with this problem?
Thanks for your help, Christoph
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Trouble with DBD-Pg
2001-04-18 17:34 Trouble with DBD-Pg Christoph Lange <lucky78@gmx.net>
@ 2001-04-19 16:38 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2001-04-19 16:38 UTC (permalink / raw)
To: Christoph Lange <lucky78@gmx.net>; +Cc: pgsql-admin
Christoph Lange <lucky78@gmx.net> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-04-19 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18 17:34 Trouble with DBD-Pg Christoph Lange <lucky78@gmx.net>
2001-04-19 16:38 ` Tom Lane <tgl@sss.pgh.pa.us>
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