Re: Re: the data is BACK! but... SOLVED! - Mailing list pgsql-general

From will trillich
Subject Re: Re: the data is BACK! but... SOLVED!
Date
Msg-id 20010228041022.A5028@mail.serensoft.com
Whole thread Raw
In response to Re: postgresql upgrade/downgrade: the data is BACK! but...  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-general
On Wed, Feb 28, 2001 at 09:31:35AM +0000, Oliver Elphick wrote:
> will trillich wrote:
>   >NOW if i can just get PERL to work with DBD::Pg again, i'd
>   >be done! this is gonna be fun to track down now that my data
>   >is back...
>   >
>   >Can't load '/usr/local/lib/site_perl/i386-linux/auto/DBD/Pg/Pg.so' for modul
>       >e DBD::Pg: libpq.so.2.0: cannot open shared object file: No such file or
>       > directory at /usr/lib/perl5/5.005/i386-linux/DynaLoader.pm line 169.
>
> If you recompile the source package of DBD this problem should go away.
> The library is now libpq.so.2.1

sure enough! here's how i did it -- on my debian system
using tcsh:

# apt-get install postgresql-dev
# cpan        (or 'perl -MCPAN -e shell' i think)
cpan> look DBD::Pg
# setenv POSTGRESQL_INCLUDE /usr/include/postgresql
# setenv POSTGRESQL_LIB /usr/lib/postgresql/lib
# perl Makefile.PL
# make
# make install
# ^D
cpan> q
#

oliver has saved my bacon once again... many thanks!
(maybe one day i can help someone else out of a jam... maybe)

--
It is always hazardous to ask "Why?" in science, but it is often
interesting to do so just the same.
        -- Isaac Asimov, 'The Genetic Code'

will@serensoft.com
http://groups.yahoo.com/group/newbieDoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!

pgsql-general by date:

Previous
From: ochapiteau
Date:
Subject: Re: to_date & to_char with postgres 6.5 & 7.0
Next
From: Renaud Tthonnart
Date:
Subject: Object