deeplearning4j: Error: lazy symbol binding failed: Symbol not found: ___emutls_get_address

Issue Description

Please describe our issue, along with: I have error when run my project in 1.0.0-beta5, it is working in 1.0.0-beta4

dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address
  Referenced from: ~/.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

Version Information

Please indicate relevant versions, including, if relevant:

  • Deeplearning4j: 1.0.0-beta5
  • Platform information (OS, etc): macOs Mojave 10.14.4
  • CUDA version, if used
  • NVIDIA driver version, if in use

Additional Information

Where applicable, please also provide:

  • Full log or exception stack trace (ideally in a Gist: gist.github.com):
dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address
  Referenced from: ~/.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

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 4
  • Comments: 35 (19 by maintainers)

Most upvoted comments

This problem is probably caused by the upgrade to GCC 8.3. These patches needed to support rpath haven’t been upgraded on the CI server: https://github.com/bytedeco/javacpp-presets/blob/master/ci/install-travis.sh#L218 The workaround for now is to install GCC 8.3 with brew install gcc@8.

Yeah, the snapshots are currently broken, unfortunately. It may take a couple of weeks to get things running well again.

@saudet sure, will do that ASAP.