Is the loadable object the Pg.so file?

Should be in [...]/auto/DBD/Pg/Pg.so

Maybe that file is missing or permissions are wrong on that file/directory?

--
Lenny

On Wed, Dec 22, 2010 at 2:04 PM, Rich Shepard <[email protected]>wrote:

> On Wed, 22 Dec 2010, Lenny Leblanc wrote:
>
>  What happens when you run:
>> perl -e'use DBD::Pg'
>> as root?
>>
>
> Lenny,
>
> [r...@salmo ~]# perl -e 'use DBD::Pg'
> Can't locate loadable object for module DBD::Pg in @INC (@INC contains:
> /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1
> /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi
> /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at -e line
> 1
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
>
>  For the record, I ran payables on the 13th and everything worked just fine
> then. Why it broke I don't know, but looking at the error messages I would
> hope that it's a path problem that could be easily resolved with a soft
> link.
>
>  BTW, just before running the above, I made a soft link for Pg.pm to
> /usr/lib/perl5/site-perl/5.10.1/i486-linux-thread-multi/ and ran ldconfig.
>
>
> Thanks,
>
> Rich
> _______________________________________________
> SQL-Ledger mailing list
> [email protected]
> http://lists.ledger123.com/mailman/listinfo/sql-ledger
>
_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to