Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] JNA 5.6.0 failure on linux-x86-64

This may not be the right list to ask because it's only tangentially related to CDT, but maybe the involved people have some insights anyway or can direct me to a better place.

I saw that CDT recently updated JNA to version 5.6.0 (https://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=9c370cfcf02e965950c311adf374d1940d86b16a). When I tried to do the same thing in my own plugins (I don't need it, but I figured it would be a good idea to follow CDT, to eventually reduce the dependency footprint), I noticed that it wouldn't run on my Linux machine: The Native class failed to initialize with an exception "Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path".

Indeed the com.sun.jna_5.6.0.v20200716-0148.jar available from the https://download.eclipse.org/releases/2021-03 p2 repo does not contain linux-x86-64/libjnidispatch.so, while it does contain it for a lot of other OSes/architectures.

Am I doing anything wrong (surely this wouldn't have gone into a release without anyone noticing?), or is that a bug in that particular build of JNA? If so, who do I ping to get it fixed?

Grateful for any clue.

 -Christian



Back to the top