Install on Mac fails

Java 11, Stardog latest download. Errors:

Email validated. You now have a 60-day Stardog trial license. Starting Stardog...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/Users/congminmin/applications/stardog-7.1.0/client/api/guice-4.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
WARN 2019-12-19 13:00:09,595 [main] com.complexible.common.memory.PlatformDependent:(144): sun.misc.VM is not available
ERROR 2019-12-19 13:00:27,495 [main] com.stardog.starrocks.NativeStorageKernel:dumpLibraryInformation(93): Unable to load native library(Starrocks):
java.library.path = </Users/congminmin/applications/stardog-7.1.0/bin/../lib>
LD_LIBRARY_PATH = {null}
java.lang.UnsatisfiedLinkError: /Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib: dlopen(/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib, 1): no suitable image found. Did find:
/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib: code signature in (/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib) not valid for use in process using Library Validation: library load disallowed by system policy
at java.lang.ClassLoader$NativeLibrary.load0(Native Method) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487) ~[?:?]
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684) ~[?:?]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2649) ~[?:?]
at java.lang.Runtime.loadLibrary0(Runtime.java:829) ~[?:?]
at java.lang.System.loadLibrary(System.java:1870) ~[?:?]
at com.stardog.starrocks.StarrocksUtils.loadLibrary(StarrocksUtils.java:76) [stardog-7.1.0.jar:?]
at com.stardog.starrocks.NativeStorageKernel.(NativeStorageKernel.java:66) [stardog-7.1.0.jar:?]
at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getStorageKernel(RocksIndexModule.java:81) [stardog-7.1.0.jar:?]
at com.complexible.stardog.index.disk.rocks.RocksIndexModule$$FastClassByGuice$$55110a28.invoke() [guice-4.0.jar:?]
at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) [guice-4.0.jar:?]
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) [guice-4.0.jar:?]
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375) [guice-multibindings-4.0.jar:?]
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258) [guice-multibindings-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051) [guice-4.0.jar:?]
at com.complexible.stardog.Stardog.initKernel(Stardog.java:247) [stardog-7.1.0.jar:?]
at com.complexible.stardog.Stardog.(Stardog.java:235) [stardog-7.1.0.jar:?]
at com.complexible.stardog.Stardog.(Stardog.java:64) [stardog-7.1.0.jar:?]
at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:647) [stardog-7.1.0.jar:?]
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:160) [stardog-cli-7.1.0.jar:?]
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:42) [stardog-cli-7.1.0.jar:?]
at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:55) [stardog-cli-7.1.0.jar:?]
at com.complexible.stardog.cli.admin.CLI.main(CLI.java:197) [stardog-cli-7.1.0.jar:?]
ERROR 2019-12-19 13:00:27,501 [main] com.stardog.starrocks.NativeStorageKernel:loadLibrary(80): Unable to load native library(native library name =Starrocks)
java.lang.UnsatisfiedLinkError: /Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib: dlopen(/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib, 1): no suitable image found. Did find:
/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib: code signature in (/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib) not valid for use in process using Library Validation: library load disallowed by system policy
at java.lang.ClassLoader$NativeLibrary.load0(Native Method) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430) ~[?:?]
at java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487) ~[?:?]
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684) ~[?:?]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2649) ~[?:?]
at java.lang.Runtime.loadLibrary0(Runtime.java:829) ~[?:?]
at java.lang.System.loadLibrary(System.java:1870) ~[?:?]
at com.stardog.starrocks.StarrocksUtils.loadLibrary(StarrocksUtils.java:76) [stardog-7.1.0.jar:?]
at com.stardog.starrocks.NativeStorageKernel.(NativeStorageKernel.java:66) [stardog-7.1.0.jar:?]
at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getStorageKernel(RocksIndexModule.java:81) [stardog-7.1.0.jar:?]
at com.complexible.stardog.index.disk.rocks.RocksIndexModule$$FastClassByGuice$$55110a28.invoke() [guice-4.0.jar:?]
at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) [guice-4.0.jar:?]
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:132) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) [guice-4.0.jar:?]
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375) [guice-multibindings-4.0.jar:?]
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258) [guice-multibindings-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [guice-4.0.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-4.0.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) [guice-4.0.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [guice-4.0.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145) [guice-4.0.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0.jar:?]
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012) [guice-4.0.jar:?]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051) [guice-4.0.jar:?]
at com.complexible.stardog.Stardog.initKernel(Stardog.java:247) [stardog-7.1.0.jar:?]
at com.complexible.stardog.Stardog.(Stardog.java:235) [stardog-7.1.0.jar:?]
at com.complexible.stardog.Stardog.(Stardog.java:64) [stardog-7.1.0.jar:?]
at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:647) [stardog-7.1.0.jar:?]
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:160) [stardog-cli-7.1.0.jar:?]
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:42) [stardog-cli-7.1.0.jar:?]
at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:55) [stardog-cli-7.1.0.jar:?]
at com.complexible.stardog.cli.admin.CLI.main(CLI.java:197) [stardog-cli-7.1.0.jar:?]
An unexpected error occurred.
java.lang.UnsatisfiedLinkError: /Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib: dlopen(/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib, 1): no suitable image found. Did find:
/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib: code signature in (/Users/congminmin/applications/stardog-7.1.0/lib/libStarrocks.dylib) not valid for use in process using Library Validation: library load disallowed by system policy
(test) congmins-MacBook-Pro:stardog-7.1.0 congminmin$

Hi Martin, use the supported jdk. I used Oracle JDK 8 on my Mac and everything worked well. I just modified the Stardog startup scripts in order to use the correct Jdk. Hope that helps.

It would be nice if the scripts used JAVA_HOME so you wouldn’t have to modify them.

How to modify the script? I already set my JDK8's JAVA_HOME variable. I got similiar issue.

It looks like it does use JAVA_HOME. I seem to remember checking it a while ago and it didn't so maybe they've updated since last time I looked or maybe I just don't recall correctly.

I'd double check to make sure that JAVA_HOME is set correctly.

It should be running whatever this returns

if [ -n "${JAVA_HOME}" -a -x "${JAVA_HOME}/bin/java" ]; then
    echo "${JAVA_HOME}/bin/java"
else
    which java
fi

Where should this piece be inserted into the stardog-admin script under /bin?

I’m sorry I should have included more information. You shouldn’t need to update anything. I suspect that there is possibly something wrong with your JVM setup. If you execute the bash commands I included in my last message it will tell you what JVM stardog is going to use and you can verify if it is or is not using what you expect.

$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home

congmins-MacBook-Pro:Downloads congminmin$ ./test.sh 
/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/bin/java

congmins-MacBook-Pro:Downloads congminmin$ echo $STARDOG_HOME
/Users/congminmin/applications/stardog-7.1.0

The current error message:
$ ./stardog-admin server start
ERROR 2019-12-22 20:29:45,476 [main] com.stardog.starrocks.NativeStorageKernel:dumpLibraryInformation(93): Unable to load native library(Starrocks):
java.library.path = </Users/congminmin/applications/stardog-7.1.0/bin/../lib>
LD_LIBRARY_PATH = {/Users/congminmin/applications/stardog-7.1.0/bin/../lib}
java.lang.UnsatisfiedLinkError: no Starrocks in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) ~[?:1.8.0_231]

Looks like the JVM is ok but it’s not finding the native libs. How exactly did you install stardog? I haven’t installed the latest on my Mac. I’ll give that a try and see if I have the same problem you do.

On top of Zach's questions, what do you get from an ls -la /Users/congminmin/applications/stardog-7.1.0/bin/../lib?

I don't remember exactly, but I think on Mac I just downloaded the software and it automatically uncompressed and I can set the STARDOG_HOME variable. I can execute the bin/ files.

$ ls -la /Users/congminmin/applications/stardog-7.1.0/bin/../lib
total 68312
drwxr-xr-x@ 10 congminmin staff 320 Dec 22 15:29 .
drwxr-xr-x@ 17 congminmin staff 544 Dec 22 20:29 ..
-r-xr-xr-x@ 1 congminmin staff 9071232 Dec 11 19:53 libStarrocks-CentOS-7.so
-rwxr-xr-x@ 1 congminmin staff 9998144 Dec 11 19:48 libStarrocks.so
-r-xr-xr-x@ 1 congminmin staff 7328 Dec 11 19:56 libvw_jni-centos-7.so
-rwxr-xr-x@ 1 congminmin staff 4575380 Dec 11 19:48 libvw_jni.dylib
-rwxr-xr-x@ 1 congminmin staff 7374376 Dec 11 19:48 libvw_jni.so
-r-xr-xr-x@ 1 congminmin staff 7328 Dec 11 19:56 libxgboost4j-centos-7.so
-rwxr-xr-x@ 1 congminmin staff 949232 Dec 11 19:48 libxgboost4j.dylib
-rwxr-xr-x@ 1 congminmin staff 2981352 Dec 11 19:48 libxgboost4j.so

It looks like you're missing libStarrocks.dylib which is the one you need for OSX. I'd suggest that you delete the stardog-7.1.0 directory and reinstall from the .zip so that you get that file.

I just installed it on my MacBook and it worked and that file is in the Stardog bistro. I'm not sure why you don't have it.

Reinstallation works now. My bad, it's because the Mac security setting blocks it to be installed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.