Skip to main content

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

Torbjorn SVENSSON wrote:
> I just took a look at the content of the com.sun.jna_5.6.0.v20200716-0148.jar file and it looks like the libjnidispatch.so file is locate in the root of the tree rather in a sub-directory. Maybe that's the error?

Oh, good find, I missed that. Yes, that looks likely.

> Regarding the missing library; maybe you should open a issue report on the JNA project itself.

As far as I can tell the JNA project does not produce Eclipse plugins. The binary published by them (https://repo1.maven.org/maven2/net/java/dev/jna/jna/5.6.0/jna-5.6.0.jar) looks different from com.sun.jna_5.6.0.v20200716-0148.jar, and besides has linux-x86-64/libjnidispatch.so in the correct place.

So I need to find the project that packaged JNA into an Eclipse plugin. In the meantime I have found that the plugin comes from Orbit, and https://download.eclipse.org/tools/orbit/downloads/drops/R20210223232630/ lists Jonah Graham as the contact, so maybe I haven’t come to the totally wrong place after all. The source code seems to be at https://git.eclipse.org/c/orbit/orbit-recipes.git/tree/jna/com.sun.jna_5.6.0 . When I clone that and run "mvn clean package", it builds me a plugin with the same bug. That gives me something to work with. Will report back.

 -Christian



Back to the top