Re: Restore from a dead machine. - Mailing list pgsql-general

From John Burski
Subject Re: Restore from a dead machine.
Date
Msg-id 3B03D861.86D72162@911ep.com
Whole thread Raw
In response to Re: Restore from a dead machine.  (User JOHN <john@akadine.com>)
Responses Re: Restore from a dead machine.  (jtp <john@akadine.com>)
List pgsql-general
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@akadine.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




pgsql-general by date:

Previous
From: User JOHN
Date:
Subject: Re: Restore from a dead machine.
Next
From: Peter Eisentraut
Date:
Subject: Re: PL/Perl in 7.1.1