Unable to use native libraries included in an OSGI bundle

Solution Verified - Updated -

Issue

  • Unable to use native libraries included in an OSGI bundle.
  • Using native libraries included in an OSGI bundle fails with the exception java.lang.UnsatisfiedLinkError.
  • Fuse on Karaf doesn't unpack, in the cache, the native libraries included in an OSGI bundle, preventing them to find its dependencies using rpath $ORIGIN option.

Environment

  • Red Hat Fuse (Fuse)
    • 7
    • Karaf with Felix
    • Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content