As far as I know, you should be using the "Bundle-NativeCode" in your manifest to point to your native library (assuming that you want to make this native library only visible/available to your bundle and not the whole framework).

Ali.

On 6/22/2010 9:12 AM, daveh91 wrote:
I have a bundle attached which will simply load a library and try to make a
call to the library.  The bundle works in the Windows environment but not on
my target environment (Linux, ARM).  The bundle contains both a Windows .dll
and a Linux .so file (and the Java class file).

The exact message I get (excluding the trace):
java.lang.UnsatisfiedLinkError: no boardio in java.library.path

I'm not real clear on how this is supposed to work in Felix, as in the
Windows case, the dll is not actually in the java.library.path but is still
loaded.

Can someone explain how the System.loadLibrary function works in Felix to
look in the proper place and decide to extract the library from the jar and
place it in the bundle.jar-lib directory in the cache.

I assume Felix extracts the library file then loads the library from that
location, but then I don't understand the "no boardio in java.library.path"
message.  Is that property temporarily modified?

Obviously the main thing I'm trying to figure out is why things aren't
working. http://old.nabble.com/file/p28960600/platform_interface.jar
platform_interface.jar

I've noticed in the Linux environment, a bundle.jar-lib directory is not
created for the bundle.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to