You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by CLEMENT Jean-Philippe <je...@fr.thalesgroup.com> on 2013/10/02 16:50:39 UTC

Karaf nativecode issue under windows

Hello,

I made a bundle which uses native libraries. It works fine under Linux. Under Windows karaf outputs the error "no matching libraries found".

I don't know if this message means that no compliant part was found under Bundle-NativeCode, or if it has another meaning.

I did put a part specifying dlls with osname=Win32; processor=x86. The machine is a 64 bits with Windows8 running Java 1.6 32 bits. Karaf version is latest 3 RC.

What is wrong with my bundle? What does "no matching libraries found" mean?

[@@ OPEN @@]


RE: Karaf nativecode issue under windows

Posted by CLEMENT Jean-Philippe <je...@fr.thalesgroup.com>.
Hi,

I found what the problem is: Karaf does not recognize Win32 as a valid alias for Windows 8. This is a bug. As per OSGi Karaf should alias Windows 8 as Win32 (http://www.osgi.org/Specifications/Reference).

Is there a workaround possible to make Win32 recognized?

JP

[@@ OPEN @@]

De : CLEMENT Jean-Philippe [mailto:jean-philippe.clement@fr.thalesgroup.com]
Envoyé : mercredi 2 octobre 2013 16:51
À : user@karaf.apache.org
Objet : Karaf nativecode issue under windows

Hello,

I made a bundle which uses native libraries. It works fine under Linux. Under Windows karaf outputs the error "no matching libraries found".

I don't know if this message means that no compliant part was found under Bundle-NativeCode, or if it has another meaning.

I did put a part specifying dlls with osname=Win32; processor=x86. The machine is a 64 bits with Windows8 running Java 1.6 32 bits. Karaf version is latest 3 RC.

What is wrong with my bundle? What does "no matching libraries found" mean?

[@@ OPEN @@]