Re: Re: the data is BACK! but... SOLVED!

From: will trillich <will(at)serensoft(dot)com>
To: pgsql <pgsql-general(at)postgresql(dot)org>, debian-user(at)lists(dot)debian(dot)org
Subject: Re: Re: the data is BACK! but... SOLVED!
Date: 2001-02-28 10:10:22
Message-ID: 20010228041022.A5028@mail.serensoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)serensoft(dot)com
http://groups.yahoo.com/group/newbieDoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Sawtell 2001-02-28 10:18:51 Re: Addison-Wesley looking for authors
Previous Message ochapiteau 2001-02-28 09:49:54 Re: to_date & to_char with postgres 6.5 & 7.0