Last active
April 8, 2016 18:45
-
-
Save kfirshay/2e0a1154fe5f01b12ab4c7a100a8414a to your computer and use it in GitHub Desktop.
FIX - dyld: lazy symbol binding failed: Symbol not found: _yajl_set_static_value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /Library/Ruby/Gems/2.0.0/gems/yajl-ruby-0.8.2/ext/yajl/ | |
# Now we need to replace 'inline void' to 'static void'. This will also create backup of old files. | |
sed -i '.bak' 's/inline void/static void/g' yajl_ext.h yajl_ext.c | |
# Now we must rebuild changed extension | |
make clean all | |
# After this you should not have any problems with yajl-ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment