dyld: lazy symbol binding failed: Symbol not found - bash

I have install recode via homebrew and when I executing the commands the error occurred
$ recode TIS620..u8 LOTUS/Supplement/*.txt
dyld: lazy symbol binding failed: Symbol not found: _rpl_malloc
Referenced from: /usr/local/Cellar/recode/3.7-beta2_1/lib/librecode.0.dylib
Expected in: flat namespace
dyld: Symbol not found: _rpl_malloc
Referenced from: /usr/local/Cellar/recode/3.7-beta2_1/lib/librecode.0.dylib
Expected in: flat namespace
[1] 8285 abort recode TIS620..u8 LOTUS/Supplement/*.txt
I am using Mac OS X Big Sur. Any help is appreciated

Related

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.
Please try latest DL4J snapshots, this problem should be resolved there.
Instructions: https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots

dyld: Library not loaded: Referenced from: /usr/local/bin/awk

It shows error message as follow when I open the terminal:
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
Referenced from: /usr/local/bin/awk
Reason: image not found
update it with:
"brew upgrade gawk"
This should be fixed.

dyld: lazy symbol binding failed: Symbol not found: _pcap_lookupdev

I have installed bettercap on Macbook Pro OSX EL Capitan 10.11.3, after installing while I start bettercap it shows below error.
dyld: lazy symbol binding failed: Symbol not found: _pcap_lookupdev
Referenced from: /Library/Ruby/Gems/2.0.0/gems/pcaprub-0.12.1/lib/pcaprub_c.bundle
Expected in: flat namespace
dyld: Symbol not found: _pcap_lookupdev
Referenced from: /Library/Ruby/Gems/2.0.0/gems/pcaprub-0.12.1/lib/pcaprub_c.bundle
Expected in: flat namespace
Here is a screenshot:
me too, but libpcap is installed on the system.
/usr/lib/libpcap.A.dylib
/usr/lib/libpcap.dylib
also pcaprub with gem is installed and is who that give us this error.

_rb_ary_new_from_values psych.bundle Ruby Error

I'm getting this error upon trying to run an app in the terminal:
dyld: lazy symbol binding failed: Symbol not found: _rb_ary_new_from_values
Referenced from: /Users/rich/.rvm/gems/ruby-2.2.3/gems/psych-2.0.17/lib/psych.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_ary_new_from_values
Referenced from: /Users/rich/.rvm/gems/ruby-2.2.3/gems/psych-2.0.17/lib/psych.bundle
Expected in: flat namespace
Trace/BPT trap: 5
Ruby 2.2.3 is default and use in the latest RVM (get stable). Other apps that I know work, are not working and get the same result. I'm thinking this is either a bad gem or an RVM issue. It's happened a handful of times before. Not sure if I'm on a bad version of Ruby (OSX) or not.
Any help appreciated. Thanks.

Setting a charset symbol in dylib

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.

Resources