Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-5069

HELIUM: Cannot read digest file: /libs/macos/aarch64/lib/libLiteCoreJNI.dylib.MD5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.3
    • 3.1.x
    • Java
    • Security Level: Public
    • None
    • 4

    Description

      When running the Java Test Server with CBL 3.2.0-46 on Mac M2, the following exception occurred:

      Exception in thread "main" java.lang.IllegalStateException: Cannot read digest file: /libs/macos/aarch64/lib/libLiteCoreJNI.dylib.MD5
      	at com.couchbase.lite.internal.NativeLibrary.computeTargetDirectory(NativeLibrary.java:140)
      	at com.couchbase.lite.internal.NativeLibrary.loadLibrary(NativeLibrary.java:99)
      	at com.couchbase.lite.internal.NativeLibrary.load(NativeLibrary.java:83)
      	at com.couchbase.lite.internal.CouchbaseLiteInternal.init(CouchbaseLiteInternal.java:74)
      	at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:72)
      	at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:56)
      	at com.couchbase.lite.mobiletest.BaseTestApp.initCBL(BaseTestApp.java:41)
      	at com.couchbase.lite.mobiletest.TestApp.init(TestApp.java:199)
      	at com.couchbase.lite.mobiletest.TestApp.init(TestApp.java:78)
      	at com.couchbase.lite.javadesktop.mobiletest.TestServerApp.initApp(TestServerApp.java:136)
      	at com.couchbase.lite.javadesktop.mobiletest.TestServerApp.startApp(TestServerApp.java:75)
      	at com.couchbase.lite.javadesktop.mobiletest.TestServerApp.main(TestServerApp.java:36)
      Caused by: java.io.IOException: Cannot find digest resource
      	at com.couchbase.lite.internal.NativeLibrary.computeTargetDirectory(NativeLibrary.java:129)
      	... 11 more 

      libs:

      libs
      ├── linux
      │   └── x86_64
      │       └── lib
      │           ├── libLiteCore.so
      │           ├── libLiteCore.so.MD5
      │           ├── libLiteCoreJNI.so
      │           └── libLiteCoreJNI.so.MD5
      ├── macos
      │   ├── universal
      │   │   └── lib
      │   │       ├── libLiteCore.dylib
      │   │       └── libLiteCore.dylib.MD5
      │   └── x86_64
      │       └── lib
      │           ├── libLiteCoreJNI.dylib
      │           └── libLiteCoreJNI.dylib.MD5
      └── windows
          └── x86_64
              └── lib
                  ├── LiteCore.dll
                  ├── LiteCore.dll.MD5
                  ├── LiteCoreJNI.dll
                  └── LiteCoreJNI.dll.MD5 

      The Test Server Java Jar is attached.

      Attachments

        Activity

          People

            blake.meike Blake Meike
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty