| Summary: | Bundle-NativeCode directive not recognized on AIX | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | strus <strus_fr> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | 3.1.2 | ||
| Target Milestone: | --- | ||
| Hardware: | Power PC | ||
| OS: | AIX Motif | ||
| Whiteboard: | |||
|
Description
strus
What is the error message that you get when the library is not in /usr/lib or on the java.library.path property? Is your bundle a jar'ed bundle? or a directory bundle? (In reply to comment #1) > What is the error message that you get when the library is not in /usr/lib or > on the java.library.path property? > > Is your bundle a jar'ed bundle? or a directory bundle? > I tried both solutions without any difference. The framework doesn't say anything (so the MANIFEST.MF is well parsed I think) but I have an UnsatisfactedLinkError error. No news ? Attaching a testcase would help. We have not seen this problem on AIX. (In reply to comment #4) > Attaching a testcase would help. We have not seen this problem on AIX. > The test case is pretty simple. Create a simple libhello.so library on Aix displaying "hello world" Create a simple plugin from a simple template proposed when you create a plugin. Just add in the plugin .java file: static { System.out.println("Trying to load libhello.so"); try { System.loadLibrary("hello"); System.out.println("libhello.so loaded with sucess"); } catch (UnsatisfiedLinkError e1) { System.out.println(e1.toString()); } } Use the manifest file I tried in my first post. Try it, it will failed. Do the same thing on Linux, It will work. The reason I'm asking for a testcase is because we already got native code that seems to work on AIX (e.g. swt). Instead trying to recreate your scenario it would help greatly if you just provided the exact testcase that is failing. |