Created
June 4, 2023 15:31
-
-
Save breandan/9ae8e1473bdcd8c8f099b16352de05be to your computer and use it in GitHub Desktop.
whisper.cpp `./gradlew build` error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.UnsatisfiedLinkError: Unable to load library 'whisper': | |
dlopen(libwhisper.dylib, 0x0009): tried: 'libwhisper.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/./libwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/../lib/libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache), 'libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache) | |
dlopen(libwhisper.dylib, 0x0009): tried: 'libwhisper.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/./libwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/../lib/libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache), 'libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache) | |
dlopen(/Users/breandan/Library/Frameworks/whisper.framework/whisper, 0x0009): tried: '/Users/breandan/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/breandan/Library/Frameworks/whisper.framework/whisper' (no such file), '/Users/breandan/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Library/Frameworks/whisper.framework/whisper' (no such file, not in dyld cache) | |
dlopen(/Library/Frameworks/whisper.framework/whisper, 0x0009): tried: '/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/whisper.framework/whisper' (no such file), '/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Library/Frameworks/whisper.framework/whisper' (no such file, not in dyld cache) | |
dlopen(/System/Library/Frameworks/whisper.framework/whisper, 0x0009): tried: '/System/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Library/Frameworks/whisper.framework/whisper' (no such file, not in dyld cache) | |
Native library (darwin-aarch64/libwhisper.dylib) not found in resource path (/Users/breandan/.gradle/caches/8.1/workerMain/gradle-worker.jar:/Users/breandan/IdeaProjects/whisper.cpp/bindings/java/build/classes/java/test:/Users/breandan/IdeaProjects/whisper.cpp/bindings/java/build/classes/java/main:/Users/breandan/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/5.13.0/1200e7ebeedbe0d10062093f32925a912020e747/jna-5.13.0.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-params/5.9.2/bc2765afb7b85b583c710dd259a11c6b8c39e912/junit-jupiter-params-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-engine/5.9.2/572f7a553b53f83ee59cc045ce1c3772864ab76c/junit-jupiter-engine-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-api/5.9.2/fed843581520eac594bc36bb4b0f55e7b947dda9/junit-jupiter-api-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-engine/1.9.2/40aeef2be7b04f96bb91e8b054affc28b7c7c935/junit-platform-engine-1.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-commons/1.9.2/6f9f8621d8230cd38aa42e58ccbc0c00569131ce/junit-platform-commons-1.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter/5.9.2/26c586fbe0ebd81b48c9f11f0d998124248697ae/junit-jupiter-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.assertj/assertj-core/3.24.2/ebbf338e33f893139459ce5df023115971c2786f/assertj-core-3.24.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.12.21/1a257bbdb9288f2558d3767cc2cc22b499d5091c/byte-buddy-1.12.21.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.opentest4j/opentest4j/1.2.0/28c11eb91f9b6d8e200631d46e20a7f407f2a046/opentest4j-1.2.0.jar:/Users/breandan/.gradle/wrapper/dists/gradle-8.1-bin/2eyty4r6kz6fpakefpk52nbbm/gradle-8.1/lib/plugins/junit-platform-engine-1.8.2.jar:/Users/breandan/.gradle/wrapper/dists/gradle-8.1-bin/2eyty4r6kz6fpakefpk52nbbm/gradle-8.1/lib/plugins/junit-platform-launcher-1.8.2.jar:/Users/breandan/.gradle/wrapper/dists/gradle-8.1-bin/2eyty4r6kz6fpakefpk52nbbm/gradle-8.1/lib/plugins/junit-platform-commons-1.8.2.jar) | |
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:323) | |
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:483) | |
at com.sun.jna.Library$Handler.<init>(Library.java:197) | |
at com.sun.jna.Native.load(Native.java:622) | |
at com.sun.jna.Native.load(Native.java:596) | |
at io.github.ggerganov.whispercpp.WhisperCppJnaLibrary.<clinit>(WhisperCppJnaLibrary.java:11) | |
at io.github.ggerganov.whispercpp.WhisperCpp.<init>(WhisperCpp.java:16) | |
at io.github.ggerganov.whispercpp.WhisperCppTest.<clinit>(WhisperCppTest.java:16) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:568) | |
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) | |
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) | |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) | |
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) | |
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128) | |
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:70) | |
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) | |
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) | |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) | |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) | |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) | |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) | |
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) | |
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$13(ClassBasedTestDescriptor.java:411) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllMethods(ClassBasedTestDescriptor.java:409) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:215) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:84) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) | |
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) | |
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) | |
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) | |
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) | |
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) | |
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) | |
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) | |
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) | |
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) | |
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) | |
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:110) | |
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:90) | |
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:85) | |
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:568) | |
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) | |
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) | |
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) | |
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) | |
at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source) | |
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) | |
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) | |
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) | |
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) | |
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) | |
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) | |
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) | |
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) | |
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) | |
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libwhisper.dylib, 0x0009): tried: 'libwhisper.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/./libwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/../lib/libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache), 'libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache) | |
at com.sun.jna.Native.open(Native Method) | |
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:211) | |
... 81 more | |
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libwhisper.dylib, 0x0009): tried: 'libwhisper.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/./libwhisper.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jetbrains-runtime-17.jdk/Contents/Home/bin/../lib/libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache), 'libwhisper.dylib' (no such file), '/usr/lib/libwhisper.dylib' (no such file, not in dyld cache) | |
at com.sun.jna.Native.open(Native Method) | |
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:224) | |
... 81 more | |
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Users/breandan/Library/Frameworks/whisper.framework/whisper, 0x0009): tried: '/Users/breandan/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/breandan/Library/Frameworks/whisper.framework/whisper' (no such file), '/Users/breandan/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Library/Frameworks/whisper.framework/whisper' (no such file, not in dyld cache) | |
at com.sun.jna.Native.open(Native Method) | |
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268) | |
... 81 more | |
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Library/Frameworks/whisper.framework/whisper, 0x0009): tried: '/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/whisper.framework/whisper' (no such file), '/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Library/Frameworks/whisper.framework/whisper' (no such file, not in dyld cache) | |
at com.sun.jna.Native.open(Native Method) | |
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268) | |
... 81 more | |
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/System/Library/Frameworks/whisper.framework/whisper, 0x0009): tried: '/System/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/whisper.framework/whisper' (no such file), '/System/Library/Frameworks/whisper.framework/whisper' (no such file, not in dyld cache) | |
at com.sun.jna.Native.open(Native Method) | |
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:268) | |
... 81 more | |
Suppressed: java.io.IOException: Native library (darwin-aarch64/libwhisper.dylib) not found in resource path (/Users/breandan/.gradle/caches/8.1/workerMain/gradle-worker.jar:/Users/breandan/IdeaProjects/whisper.cpp/bindings/java/build/classes/java/test:/Users/breandan/IdeaProjects/whisper.cpp/bindings/java/build/classes/java/main:/Users/breandan/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/5.13.0/1200e7ebeedbe0d10062093f32925a912020e747/jna-5.13.0.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-params/5.9.2/bc2765afb7b85b583c710dd259a11c6b8c39e912/junit-jupiter-params-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-engine/5.9.2/572f7a553b53f83ee59cc045ce1c3772864ab76c/junit-jupiter-engine-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-api/5.9.2/fed843581520eac594bc36bb4b0f55e7b947dda9/junit-jupiter-api-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-engine/1.9.2/40aeef2be7b04f96bb91e8b054affc28b7c7c935/junit-platform-engine-1.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-commons/1.9.2/6f9f8621d8230cd38aa42e58ccbc0c00569131ce/junit-platform-commons-1.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter/5.9.2/26c586fbe0ebd81b48c9f11f0d998124248697ae/junit-jupiter-5.9.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.assertj/assertj-core/3.24.2/ebbf338e33f893139459ce5df023115971c2786f/assertj-core-3.24.2.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.12.21/1a257bbdb9288f2558d3767cc2cc22b499d5091c/byte-buddy-1.12.21.jar:/Users/breandan/.gradle/caches/modules-2/files-2.1/org.opentest4j/opentest4j/1.2.0/28c11eb91f9b6d8e200631d46e20a7f407f2a046/opentest4j-1.2.0.jar:/Users/breandan/.gradle/wrapper/dists/gradle-8.1-bin/2eyty4r6kz6fpakefpk52nbbm/gradle-8.1/lib/plugins/junit-platform-engine-1.8.2.jar:/Users/breandan/.gradle/wrapper/dists/gradle-8.1-bin/2eyty4r6kz6fpakefpk52nbbm/gradle-8.1/lib/plugins/junit-platform-launcher-1.8.2.jar:/Users/breandan/.gradle/wrapper/dists/gradle-8.1-bin/2eyty4r6kz6fpakefpk52nbbm/gradle-8.1/lib/plugins/junit-platform-commons-1.8.2.jar) | |
at com.sun.jna.Native.extractFromResourcePath(Native.java:1145) | |
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:295) | |
... 81 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment