Re: Three versions of Pg.pm on my machine

From: Richard A Lough <richard(at)sheugh(dot)com>
To: gnari <gnari(at)simnet(dot)is>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Three versions of Pg.pm on my machine
Date: 2004-07-17 07:45:11
Message-ID: 20040717074511.GA12026@mail.sheugh.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> > # $Id:Pg.pm, v 1.1.1.1 2004.01.16 - 18166 bytes in
> > /usr/share/perl5/Pg.pm
>
> this is probably supplied by the debian package
> libpg-perl
>

> > # $Id:Pg.pm v 1.92 2004.02.25 - 66285 bytes in
> > /usr/lib/Perl5/Pg.pm
Oops ... should be /usr/lib/Perl5/DBD/Pg.pm
> this does not seem to be supplied by a (current)
> debian package according to packages.debian.org
>
> what is the output of:
> # dpkg -S /usr/lib/Perl5/Pg.pm
> ?
dpkg: -S /usr/lib/Perl5/DBD/Pg.pm

>
> > ... Probably a Perl
> > newsgroup would be the best place to ask, but I thought
> > I should ask here first in case I missed something.
>
> I think the answer you are likely to get on a perl newsgroup
> is to use DBI
> # apt-get install libdbd-pg-perl
>
> gnari
>
packages installed are
libdbi-perl 1.41-1
libdbd-pg-perl 1.32-1

On my current machine I installed a symlink some time ago and
this points to the old version of Pg.pm. The symlink is found
early in any search by a perl script, hence the new version
of Pg.pm is not found. However, I am moving my stuff onto a
new machine. This does not have the symlink, but the new Pg.pm
is found and will not work with my scripts.

The solution seems to be to convert the scripts on the new
machine and to run my current setup until ready to change
over.

Thanks for your reply.

Richard A Lough

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nilabhra Banerjee 2004-07-17 09:02:39 installation: cc and gcc how to?
Previous Message Hunter Hillegas 2004-07-17 05:57:10 Recent High CPU