Fork me on GitHub
#uncomplicate
<
2020-10-01
>
esp105:10:43

Hi - I’m trying to run the neanderthal hello-world example, but when I do I’m seeing this error:

user=> (require 'hello-world.native)
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See  for further details.
Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader$NativeLibrary/load0 (ClassLoader.java:-2).
/private/var/folders/jh/lcqjvxyx769ddv4wr2vg4whc0000gn/T/libneanderthal-mkl-0.33.03015718834538285555.jnilib: dlopen(/private/var/folders/jh/lcqjvxyx769ddv4wr2vg4whc0000gn/T/libneanderthal-mkl-0.33.03015718834538285555.jnilib, 1): Library not loaded: @rpath/libmkl_intel_lp64.dylib
  Referenced from: /private/var/folders/jh/lcqjvxyx769ddv4wr2vg4whc0000gn/T/libneanderthal-mkl-0.33.03015718834538285555.jnilib
  Reason: image not found
I’m running this with Java 13.0.2 and I uncommented the jvm options line in project.clj as instructed in the Getting Started guide, but I still get this error.

blueberry11:10:26

@sep1 You need to provide MKL, either system-wide, or through bytedeco's mkl jar dependency.

blueberry11:10:53

+ disable SIP on macOS

esp115:10:15

ah thx. i’m using the mkl jar dependency but i didn’t see the bit about disabling SIP in the Getting Started guide because that note is down below under the ‘Optional’ section on installing MKL system-wide. it may be a good idea to highlight that point a bit more in the guide.