[Pljava-dev] Extension libraries are required to use the PG_MODULE_MAGIC macro

Lists: pljava-dev
From: eric(dot)kolotyluk at gmail(dot)com (Eric Kolotyluk)
To:
Subject: [Pljava-dev] Extension libraries are required to use the PG_MODULE_MAGIC macro
Date: 2011-05-19 05:10:09
Message-ID: 4DD4A631.6050304@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

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?

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...

Cheers, Eric


From: johann at 2ndquadrant(dot)com (Johann 'Myrkraverk' Oskarsson)
To:
Subject: [Pljava-dev] Extension libraries are required to use the PG_MODULE_MAGIC macro
Date: 2011-05-21 12:37:40
Message-ID: x6ei3smdpn.fsf@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Eric Kolotyluk <eric.kolotyluk at gmail.com> 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.

--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/


From: eric(dot)kolotyluk at gmail(dot)com (Eric Kolotyluk)
To:
Subject: [Pljava-dev] Extension libraries are required to use the PG_MODULE_MAGIC macro
Date: 2011-05-21 18:23:39
Message-ID: 4DD8032B.1070904@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

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<eric.kolotyluk at gmail.com> 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.
>