1

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.

1 Answers1

1

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

raver119
  • 336
  • 1
  • 5
  • i'm tried it. but other error received. ```Referenced from: /Users/xxx/.javacpp/cache/nd4j-native-1.0.0-20191116.014620-15875-macosx-x86_64.jar/org/nd4j/nativeblas/macosx-x86_64/libjnind4jcpu.dylib Expected in: /usr/lib/libstdc++.6.dylib``` (it's exists) Is this a different error from the error that the file does not exist? – Tom Marvolo Riddle Nov 16 '19 at 18:03
  • Thanks for flagging this one. I've applied one more fix, so next shapshots build show work fine. Please let me know if there'll be any other problems. – raver119 Nov 17 '19 at 11:37
  • Thank you! The latest snapshot version has useable successfully! – Tom Marvolo Riddle Nov 17 '19 at 13:13