# Curb problems on OS X

**URL:** <https://www.ruby-forum.com/t/curb-problems-on-os-x/82354>\
**Category:** Ruby\
**Created:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/curb-problems-on-os-x/82354 "2007-01-19T16:29:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lists](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/cdc98d/32.png) [@lists](https://www.ruby-forum.com/u/lists)\
**Post date:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/curb-problems-on-os-x/82354/1 "2007-01-19T16:29:34Z")

</div>

Hi,  
Is anyone else having problems with curb \<[http://curb.rubyforge.org/](http://curb.rubyforge.org/)

> on OS X using Intel architecture? Just thought I’d check before  
> filing a bug.

$ ruby --version  
ruby 1.8.5 (2006-08-25) [i686-darwin8.8.2]  
$ gem query -n curb

\*\*\* LOCAL GEMS \*\*\*

curb (0.1.0)  
Ruby bindings for the libcurl(3) URL transfer library.  
$ irb -rubygems -rcurb  
dyld: NSLinkModule() error  
dyld: Symbol not found: \_curl\_easy\_escape  
Referenced from: /opt/local/lib/ruby/gems/1.8/gems/curb-0.1.0/lib/  
curb\_core.bundle  
Expected in: flat namespace  
$

(ruby, irb, and gem are all installed under /opt/local using MacPorts  
[http://www.macports.org/](http://www.macports.org/)).

---

<div class="post-metadata">

**Author:** ![lists](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/cdc98d/32.png) [@lists](https://www.ruby-forum.com/u/lists)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/curb-problems-on-os-x/82354/2 "2007-01-19T16:31:15Z")

</div>

On 1/11/07, lists [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> (ruby, irb, and gem are all installed under /opt/local using MacPorts  
> [http://www.macports.org/](http://www.macports.org/)).

with compiled from standard dist ruby 1.8.4 on OS X.4:

seltzer:~ sandal$ irb -rubygems

> > require “curb”  
> > dyld: NSLinkModule() error  
> > dyld: Symbol not found: \_curl\_easy\_escape  
> > Referenced from:  
> > /usr/local/lib/ruby/gems/1.8/gems/curb-0.1.0/lib/curb\_core.bundle  
> > Expected in: flat namespace

---

<div class="post-metadata">

**Author:** ![lists](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/cdc98d/32.png) [@lists](https://www.ruby-forum.com/u/lists)\
**Post date:** [September 25, 2007, 10:30pm UTC](https://www.ruby-forum.com/t/curb-problems-on-os-x/82354/3 "2007-09-25T22:30:16Z")

</div>

On Jan 13, 2007, at 4:40 AM, Ross B. wrote:

> linkage problem). I found a number of references to similar  
> problems, mostly I think with new(er?) versions of OSX, but nothing  
> definitive. It’s a problem, so please do file a bug with Curb, but  
> if anyone can shed any light on this issue I’d be most appreciative.
> 
> ## Cheers,
> 
> Ross B. - removed\_email\_address@domain.invalid

Bug filed: \<[http://rubyforge.org/tracker/index.php](http://rubyforge.org/tracker/index.php)?  
func=detail&aid=7802&group\_id=2622&atid=10079\>

---

<div class="post-metadata">

**Author:** ![lists](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/cdc98d/32.png) [@lists](https://www.ruby-forum.com/u/lists)\
**Post date:** [September 25, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/curb-problems-on-os-x/82354/4 "2007-09-25T22:40:47Z")

</div>

On Fri, 12 Jan 2007 02:15:10 -0000, Gregory B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > $  
> > Referenced from:  
> > /usr/local/lib/ruby/gems/1.8/gems/curb-0.1.0/lib/curb\_core.bundle  
> > Expected in: flat namespace

I don’t know what this means (aside from the obvious that it’s a linkage  
problem). I found a number of references to similar problems, mostly I  
think with new(er?) versions of OSX, but nothing definitive. It’s a  
problem, so please do file a bug with Curb, but if anyone can shed any  
light on this issue I’d be most appreciative.

Cheers,

---

<div class="post-metadata">

**Author:** ![lists](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/cdc98d/32.png) [@lists](https://www.ruby-forum.com/u/lists)\
**Post date:** [September 25, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/curb-problems-on-os-x/82354/5 "2007-09-25T22:47:54Z")

</div>

On Jan 13, 2007, at 1:23 PM, lists wrote:

> > > 
> > 
> > Ross B. - removed\_email\_address@domain.invalid
> 
> Bug filed: \<[http://rubyforge.org/tracker/index.php](http://rubyforge.org/tracker/index.php)?  
> func=detail&aid=7802&group\_id=2622&atid=10079\>

Just FYI, it looks like this has been fixed with curb version 0.1.2  
(now available as a gem). Thanks to Ross for the quick debugging and  
distribution of the fix.

-Ryan
