From: thomas at tada.se (Thomas Hallgren) Date: Thu, 30 Aug 2007 11:53:58 +0200 Subject: [Pljava-dev] PL/Java 1.3 and PG 8.2.4 In-Reply-To: <46D66F01.3030708@goldencode.com> References: <46D66F01.3030708@goldencode.com> Message-ID: PL/Java 1.3.0 is for PostgreSQL 8.1.x. You'll have to use CVS HEAD in order to compiler for 8.2.x. Regards, Thomas Hallgren Eric Faulhaber wrote: > I saw this question on the list earlier this year, but I never saw an > answer. Same result with google. Sorry if I missed it. > > I receive the following error when I try to run PL/Java 1.3.0's > install.sql against PostgreSQL 8.2.4: > > psql:install.sql:6: ERROR: incompatible library > "/usr/lib/postgresql/8.2/lib/pljava.so": missing magic block > HINT: Extension libraries are required to use the PG_MODULE_MAGIC macro. > > The same pljava.so binary worked fine for PG 8.1.x, so I'm assuming this > means I need a newer binary which was built against some headers updated > for 8.2.x? If so, is there an "official" release of such a binary out > there? > > Thanks in advance, > Eric Faulhaber