From: eric.kolotyluk at gmail.com (Eric Kolotyluk) Date: Sat, 21 May 2011 11:23:39 -0700 Subject: [Pljava-dev] Extension libraries are required to use the PG_MODULE_MAGIC macro In-Reply-To: References: <4DD4A631.6050304@gmail.com> Message-ID: <4DD8032B.1070904@gmail.com> Right you are! I have too many versions downloaded. I found the right one and things are working again. I've automated the setup of PLJava in my software, so things should be more reliable now. Cheers, Eric On 2011-05-21 5:37 AM, Johann 'Myrkraverk' Oskarsson wrote: > Eric Kolotyluk writes: > >> I never seem to stop having fun with pljava... >> >> I had the 64-bit version of pljava working on Windows 7, but now I'm >> trying to install it on a different Windows 7 system and I'm getting >> the following error. Does this make sense to anyone? > Only if you are accidentally using an old binary. Please re-download > from the site and try again. > >> ERROR: incompatible library "C:/Program Files >> (Open)/Kodak/Intersystem/Postgres/lib/pljava.dll": missing magic block >> Hint: Extension libraries are required to use the PG_MODULE_MAGIC macro. >> Caused by: org.postgresql.util.PSQLException: ERROR: incompatible >> library "C:/Program Files >> (Open)/Kodak/Intersystem/Postgres/lib/pljava.dll": missing magic block >> Hint: Extension libraries are required to use the PG_MODULE_MAGIC macro. >> >> Also, I'm having a really hard time getting pljava to work on Windows >> XP - but that is a story for another day... > Any particular errors you can share with us? The 32bit binaries are > compiled on 7 - I hope that's not the issue. >