Skip to content

Instantly share code, notes, and snippets.

@kfirshay
Last active April 8, 2016 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kfirshay/2e0a1154fe5f01b12ab4c7a100a8414a to your computer and use it in GitHub Desktop.
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
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