On Sun, Feb 5, 2017 at 4:27 PM, <list+org.o...@io7m.com> wrote: > I'm using the following manifest to include some native code in a > bundle: ... > <Bundle-NativeCode> > natives/windows/x86/lwjgl32.dll; osname=Windows; processor=x86, > natives/windows/x86_64/lwjgl.dll; osname=Windows; processor=x86-64, > natives/linux/x86_64/liblwjgl.so; osname=Linux; processor=x86-64, > natives/osx/x86_64/liblwjgl.dylib; osname=MacOSX; processor=x86-64, > > natives/windows/x86/OpenAL32.dll; osname=Windows; processor=x86, > natives/windows/x86_64/OpenAL.dll; osname=Windows; processor=x86-64, > natives/linux/x86_64/libopenal.so; osname=Linux; processor=x86-64, > natives/osx/x86_64/libopenal.dylib; osname=MacOSX; processor=x86-64, > > natives/windows/x86/jemalloc32.dll; osname=Windows; processor=x86, > natives/windows/x86_64/jemalloc.dll; osname=Windows; processor=x86-64, > natives/linux/x86_64/libjemalloc.so; osname=Linux; processor=x86-64, > natives/osx/x86_64/libjemalloc.dylib; osname=MacOSX; processor=x86-64, > > natives/windows/x86/glfw32.dll; osname=Windows; processor=x86, > natives/windows/x86_64/glfw.dll; osname=Windows; processor=x86-64, > natives/linux/x86_64/libglfw.so; osname=Linux; processor=x86-64, > natives/osx/x86_64/libglfw.dylib; osname=MacOSX; processor=x86-64 > </Bundle-NativeCode>
Not a NativeCode user, but reading osgi-core it says "If multiple native code libraries need to be installed on one platform, they must all be specified in the same clause for that platform." along with an example: "The following is a typical example of a native code declaration in a bundle's manifest: Bundle-NativeCode: lib/http.dll ; lib/zlib.dll; « osname = Windows95 ;" So, maybe you should group by filter? ( try it once and tell us ) > It seems that on my current platform (Linux x86-64, Felix 5.6.1), only > liblwjgl.so is found. Calls to System.loadLibrary("jemalloc") fail quietly > (stepping through in the debugger shows that this variable: And implementations of these could easily match this behaviour. Francisco Olarte. _______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev