macosdylibdl4jnd4j

Can't read even though there is dylib symbol


I get this error when running my java program. (on intellij ide.)

dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address Referenced from: /Users/xxx/.javacpp/cache/nd4j-native-1.0.0-beta5-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libnd4jcpu.dylib Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ___emutls_get_address Referenced from: /Users/xxx/.javacpp/cache/nd4j-native-1.0.0-beta5-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libnd4jcpu.dylib Expected in: /usr/lib/libSystem.B.dylib

I checked the /usr/lib/ path but libSystem.B.dylib exists.

Do you have a solution?

Postscript I was able to run the same version of DL4J (ND4J) on the same mac. However, after updating mac and xcode, this error came out soon.

xcode-select --install has been executed.


Solution

  • Please try latest DL4J snapshots, this problem should be resolved there. Instructions: https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots