I'm trying to make git clone work with Mac OS X Mountain Lion, the git installed fine but doing git clone does not and just throws:
dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib
Trace/BPT trap: 5
I've tried the SO answers with having a .bash_profile and restarting the machine, but none worked.
(Re)install XCode and the Command Line Tools: http://www.hongkiat.com/blog/mountain-lion-git-fix/
Related
So, I recently downloaded Golang from this link:
https://golang.org/dl/go1.16.2.darwin-amd64.pkg
The installation was completed with no errors, but when I try running go version, this happens:
dyld: Symbol not found: _clock_gettime
Referenced from: /usr/local/go/bin/go
Expected in: flat namespace
Trace/BPT trap: 5
I'm running Mac OSX version 10.11.6
go1.16.2 needs an OS greater than MacOS 10.11.6 "OS X El Capitan" according to the golang download documents.
I installed go1.15.11 successfully on MacOS X version 10.11.6 .
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.
Please try latest DL4J snapshots, this problem should be resolved there.
Instructions: https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots
I have just installed ImageMagick on Mac 10.11.1, but can't run the command, "convert". I received the following error message. Any help would be greatly appreciated.
The DYLD_LIBRARY_PATH is not set in the .bash_profile.
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/ImageMagick-6.9.2/lib//libjpeg.9.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Trace/BPT trap: 5
For me at least, the answer is to simply remove the offending library (libraries in my case) from /usr/local/ImageMagick-6.9.2/lib/ as then the default ones are picked up -- no need for symlink(s).
I'm trying to install the command line tools on Yosemite but I'm getting the following error:
$ xcode-select --install
dyld: Symbol not found: __cg_png_create_info_struct
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libPng.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Trace/BPT trap: 5
What is causing this error and how do I fix it?
I use an old Powerbook G4.
While trying to update the macports (sudo port -d selfupdate) following error exist.
dyld: lazy symbol binding failed: Symbol not found: _locale_charset
Referenced from: /usr/bin/rsync
Expected in: /usr/lib/libiconv.2.dylib
dyld: Symbol not found: _locale_charset
Referenced from: /usr/bin/rsync
Expected in: /usr/lib/libiconv.2.dylib
How can I set the Symbol _locale_charset?
Does anyone have a good idea?
Neither /usr/bin/rsync nor /usr/lib/libiconv.2.dylib are part of MacPorts. Probably you've replaced the system copy of rsync with another copy that isn't compatible with your OS X version. Try reinstalling it.