How does your bundle-nativelibrary header in the manifest looks like?

regards,

Karl

On Tue, Jun 22, 2010 at 4:12 PM, daveh91 <[email protected]> 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.
> --
> View this message in context: 
> http://old.nabble.com/Get-UnsatisfiedLinkError-when-trying-to-start-bundle-with-native-library-tp28960600p28960600.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Karl Pauls
[email protected]

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

Reply via email to