Re: DBD::Pg-2.19.3 compilation issues
[email protected] (Rainer Weikusat) Sat, 31 Aug 2013 16:01:38 +0100
| Newsgroups | perl.dbd.pg |
|---|---|
| Message-ID | <[email protected]> |
[email protected] ("Greg Sabino Mullane") writes: >> PostgreSQL version: 80215 (default port: 5432) > ... >> /usr/local/GP-4.2.4.0/include/libpq-fe.h:533: error: >> previous declaration of 'lo_import_with_oid' was here > > Something is very wrong here. Version 8.2 (old and unsupported, > FWIW) had no concept of lo_import_with_oid, so you have a > more modern libpq-fe header file there, which will cause > all sorts of problems beyond the function at hand. He is using a postgres fork (something called 'Greenplum' aka 'GP'). This documents itself as Greenplum Database is based on PostgreSQL 8.2 with a few features added in from the 8.3 release. and when the libpq-fe.he which came with this database has the prototype for lo_import_with_oid, chances are that the corresponding library has it as well (nm -D ... | grep lo_import could be used to check this).