code: public void start(BundleContext context)
              throws Exception
      {
          String library = System.mapLibraryName(LIBRARY_NAME);
          if (library.toLowerCase().endsWith(".dylib")) {
              // some MacOS JDK7+ vendors map to dylib instead of jnilib
              library = library.replace(".dylib", ".jnilib");
          }
          System.loadLibrary(library);
          SnappyLoader.setSnappyApi(new SnappyNative());
      }
docs: Make a call to {@link System#loadLibrary(String)} to load the native library which assumes
  that the library is available on the path based on this {@link Bundle}'s {@link Manifest}.