I'm having trouble using a native library from an OSGi bundle with
Bundle-NativeCode. When I try to install the bundle I receive:  
 org.osgi.framework.BundleException: Unable to select a native
library clause.
     at
org.apache.felix.framework.util.manifestparser.ManifestParser.getSelectedLibraryClause(ManifestParser.java:370)
     at
org.apache.felix.framework.util.manifestparser.ManifestParser.getLibraries(ManifestParser.java:293)
     at
org.apache.felix.framework.Felix.createModule(Felix.java:3423)   
 ...   
 The Bundle-NativeCode header is generated by the Felix Maven plugin
with the following line:  
                         libjspLux86.so;processor=Linux;osname=amd64 

  I'm running Ubuntu Linux  on an AMD 64 machine. Java
System.properties reports the os and architecture as "Linux" and
"amd64".  
 Does Felix get the processor and os from the system properties, or
does it need to be set somewhere? Is there a way to see what Felix
thinks os and processor are?  

Reply via email to