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

A problem appears in the AIX system #964

Closed
liangruxing opened this issue May 27, 2018 · 3 comments
Closed

A problem appears in the AIX system #964

liangruxing opened this issue May 27, 2018 · 3 comments

Comments

@liangruxing
Copy link

when system.load /com/sun/jna/aix-ppc64/libjnidispatch.a or /com/sun/jna/aix-ppc/libjnidispatch.a , java throw this Exception: java.lang.UnsatisfiedLinkError. Is the JNA that does not support the AIX system?

@matthiasblaesing
Copy link
Member

I checked on AIX and indeed the native library for 32 bit fails to load. I rebuild it and produced a test binary. Please see the attached ZIP and test if it helps.

jna-test.zip

@liangruxing
Copy link
Author

use the jna-test.zip(4.5.x and 5.0.0),it can work now,Thank you very much.

@matthiasblaesing
Copy link
Member

Great! I merged the updated binary to the repository and created new snapshot versions:

https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/5.0.0-SNAPSHOT/jna-5.0.0-20180527.175730-1.jar
https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/4.5.2-SNAPSHOT/jna-4.5.2-20180528.165716-1.jar

I'd appreciate it, if you could test these too. On the AIX system I can access, I was able to use the binaries above with java 6 32Bit, java 8 32 bit and java 8 64 bit.

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

2 participants