Thread: pgsql (Perl 5.004 error)

pgsql (Perl 5.004 error)

From
"Alvin Khoo"
Date:
I wrote a perl program and it ran fine in command prompt (using bash*).

I had place a .forward file which calls the perl5 program and obtained
this message below. Somehow it is not reading Pg.so file which exists.

   ----- Transcript of session follows -----
Can't load '/usr/lib/perl5/site_perl/i586-linux/auto/Pg/Pg.so' for module Pg: File not found at
/usr/lib/perl5/i586-linux/5.00404/DynaLoader.pm line 166.

at /home/postgres/giropost.pl line 3
554 "|/home/postgres/giropost.pl"... unknown mailer error 2


# use Pg;