Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

64 bit windows jdbc_fdw.dll issues #13

Open
guanno686 opened this issue Sep 29, 2013 · 7 comments
Open

64 bit windows jdbc_fdw.dll issues #13

guanno686 opened this issue Sep 29, 2013 · 7 comments

Comments

@guanno686
Copy link

I have been trying to get jdbc_fdw to work on a 64 bit Windows system to no avail. First I had issues trying to install it using windows sdk getting errors like jdbc_fdw.obj : error LNK2019: unresolved external symbol JNI_CreateJavaVM" so I switched and was able to install it using 64 bit mingw. The server starts up fine bit now when I go to Create extension, I get the error below. I see the dll and have tried changing the path etc and nothing seems to work. Any advice would be much appreciated.

ERROR: could not load library "C:/PostgreSQL/9.3/lib/jdbc_fdw.dll": The specified module could not be found.

@guanno686
Copy link
Author

Update to this, I was able to get past the initial error by updating the classpath to point to a specific jvm.dll but now get the following error.

ERROR: incompatible library "C:/PostgreSQL/9.3/lib/jdbc_fdw.dll": magic block mismatch
DETAIL: Server has FLOAT8PASSBYVAL = false, library has true.

@atris
Copy link
Owner

atris commented Sep 30, 2013

Which PostgreSQL version are you using?

Sent from my iPad

On 30-Sep-2013, at 19:37, guanno686 notifications@github.com wrote:

Update to this, I was able to get past the initial error by updating the classpath to point to a specific jvm.dll but now get the following error.

ERROR: incompatible library "C:/PostgreSQL/9.3/lib/jdbc_fdw.dll": magic block mismatch
DETAIL: Server has FLOAT8PASSBYVAL = false, library has true.


Reply to this email directly or view it on GitHub.

@guanno686
Copy link
Author

The version is 9.3.0

@atris
Copy link
Owner

atris commented Sep 30, 2013

I have never tested on 9.3 actually. The last version tested was 9.2

On Mon, Sep 30, 2013 at 8:21 PM, guanno686 notifications@github.com wrote:

The version is 9.3.0


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-25369105
.

Regards,

Atri
l'apprenant

@guanno686
Copy link
Author

So could this error be because it is 9.3.0 on windows x64? My coworkers have it working on MAC OS with 9.3.0.

@theRealZing
Copy link

Atris, would you expect the current JDBC_FDW code to work on 9.3 or does it need to be patched first?

@atris
Copy link
Owner

atris commented Oct 10, 2013

I dont expect it to work per se. Let me have a look

On Thu, Oct 10, 2013 at 8:02 PM, theRealZing notifications@github.comwrote:

Atris, would you expect the current JDBC_FDW code to work on 9.3 or does
it need to be patched first?


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-26058502
.

Regards,

Atri
l'apprenant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants