docs: private static File getNativeLibraryFile(String libname) {
  
          // for now, arch is always x86_64
          String pathFormat = "/org/voltdb/native/%s/x86_64";
          String libPath = null;
          String osName = System.getProperty("os.name").toLowerCase();
          if (osName.contains("mac")) {
              libPath = String.format(pathFormat, "Mac");
          } else if (osName.contains("linux")) {
              libPath = String.format(pathFormat, "Linux");
          } else {
              throw new RuntimeException("Unsupported system: " + osName);
          }
  
          String libFileName = System.mapLibraryName(libname);
          if (NativeLibraryLoader.class.getResource(libPath + "/" + libFileName) == null) {
              // mapLibraryName does not give us the correct name on mac sometimes
              if (osName.contains("mac")) {
                  libFileName = "lib" + libname + ".jnilib";
              }
              if (NativeLibraryLoader.class.getResource(libPath + "/" + libFileName) == null) {
                  String msg = "Could not find library resource using path: " + libPath + "/" + libFileName;
                  s_hostLog.warn(msg);
                  throw new RuntimeException(msg);
              }
          }
  
          File tmpFilePath = new File(System.getProperty(VOLT_TMP_DIR, System.getProperty("java.io.tmpdir")));
          if (s_hostLog.isDebugEnabled()) {
              s_hostLog.debug("Temp directory to which shared libs are extracted is: " + tmpFilePath.getAbsolutePath());
          }
          try {
              return loadLibraryFile(libPath, libFileName, tmpFilePath.getAbsolutePath());
          } catch(IOException e) {
              s_hostLog.error("Error loading Volt library file from jar", e);
              throw new RuntimeException(e);
          }
      }