I solved this problem, please disregard. It was a permissions problem with
auto/DBD/Pg. By default, it's installed as root.users u=rwx. My apache runs
as nobody.nogroup, and was unable to load the proper DBD modules, yet the
DBI permissions were ok. I kept changing the permissions on the
i386-linux/site-perl folder, since it was the first in my @INC, thinking
that's where the problem was. I didn't noticed the auto/DBD part until after
doing another rebuild of DBD::Pg.

-----Original Message-----
From: David Rippel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 10:01 AM
To: '[EMAIL PROTECTED]'
Subject: Problem with DBD::Pg 0.95 & Sql-ledger 1.2.7


I'm trying to get Sql-ledger 1.2.7 running on the following setup:

Perl 5.6.0
DBI 1.14
Apache 1.3.14 w/ mod_perl 1.24.01
Linux kernel 2.2.16 (slackware 7.1)
Postgres SQL 7.0.3

DBD::Pg and DBI both make and make test successfully. The postgres libs are
in my ld.conf. When I attempt to log in to the database through the
login.cgi, I run into the following error (excerpt from apache error_log)

install_driver(Pg) failed: Can't locate loadable object for module DBD::Pg
in @INC (@INC contains: utils /usr/lib/perl5/i386-linux /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at (eval 1)
line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a module that DBD::Pg requires hasn't been fully installed
 at /usr/local/apache/htdocs/sql-ledger/login.cgi line 66
[Tue Jan 30 09:34:36 2001] [error] [client 192.168.3.179] Premature end of
script headers: /usr/local/apache/htdocs/sql-ledger/login.cgi

Any ideas on how to go about solving this issue? I've checked all of my
permissions and *think* everything is in the correct directories. Any input
on this would be most appreciated. 

- David.

Reply via email to