Yep, that was it. Originally I had only the osname in there, and I guess I was 
a bit careless when I added the processor.

Thanks!


On Thu, 10 Jul 2008 21:03:40 +0200, "Karl Pauls" <[EMAIL PROTECTED]> wrote:
>>  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
> 
> Shouldn't that be:
> 
>                   libjspLux86.so;processor=amd64;osname=Linux
> 
> I think you have it the wrong way around ....
> 
> regards,
> 
> Karl
> 
>>  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?
> 
> 
> 
> --
> Karl Pauls
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to