Skip to content

Curb and symbol binding

by nick on August 28th, 2012

I ran into the issue dyld: lazy symbol binding failed: Symbol not found: _curl_global_init when trying to use curb on OS X Lion.

Google linked to https://github.com/taf2/curb/issues/61 but that was of no help.

My fix was to use Homebrew to reinstall curl. However the keg was read-only due to curl being provided by OS X.

  1. brew edit curl

  2. Comment out the keg_only lines

  3. Re-run brew

  4. There will be an error (which I forget right now and cannot find the command for) that basically says “sorry, your target directory exists”. I renamed the target to .old, and re-ran brew link curl.

  5. Re-installed the curb gem.
  6. Success!

Related Posts

  • No Related Post

From → Geek

Comments are closed.