Re: Restore from a dead machine.

From: John Burski <john(dot)burski(at)911ep(dot)com>
To: User JOHN <john(at)akadine(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Restore from a dead machine.
Date: 2001-05-17 13:55:45
Message-ID: 3B03D861.86D72162@911ep.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

I've seen this message before - it appears when, like you indicated, the
specified module can't be found in any of the directories specified in the Perl
@INC array.

If you can locate the Pg.pm module on your system, copy it to one of the
directories specified (a symbolic link might work, too, but I've not tried
that).

Another option might be to download and install the latest Pg module from CPAN.

Best Regards,

User JOHN wrote:

> On Wed, 16 May 2001, Tom Lane wrote:
>
> > User JOHN <john(at)akadine(dot)com> writes:
> > > But when i try to run any of the perl scripts designed for the database
> > > I'm getting the following error:
> >
> > > Can't locate Pg.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach
> > > /usr/libdata/perl/5.00503
> > > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> > > /usr/local/lib/perl5/site_perl/5.005 .) at ./top25.pl line 2.
> >
> > Perhaps what it's really failing to find is libpq.so. Are you sure your
> > dynamic loader's search path will find libpq?
> >
> > regards, tom lane
>
> I was having trouble with libraries prior to this perl issue. I've since
> fixed this issue (the libpq.so) but the Perl issue remains.
> I've looked in all the directories implicated and none of them hold Pg.pm.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
John Burski
Data Processing Manager
911EP
First in LEDs... The solid state warning light leader.
1-800-863-6911

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-05-17 14:40:33 Re: PL/Perl in 7.1.1
Previous Message D0 2001-05-17 13:43:41 Can not drop sequence...

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tony Grant 2001-05-17 14:46:37 Javascript in JSP
Previous Message User JOHN 2001-05-17 13:19:15 Re: Restore from a dead machine.