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' [EMAIL PROTECTED] http://groups.yahoo.com/group/newbieDoc -- we need your brain! http://www.dontUthink.com/ -- your brain needs us!