Forum: Ruby curb problems on OS X

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
lists (Guest)
on 2007-01-19 17:29
(Received via mailing list)
Hi,
  Is anyone else having problems with curb <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/>).
Gregory B. (Guest)
on 2007-01-19 17:31
(Received via mailing list)
On 1/11/07, lists <removed_email_address@domain.invalid> wrote:
>
> (ruby, irb, and gem are all installed under /opt/local using MacPorts
> <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
lists (Guest)
on 2007-09-26 00:30
(Received via mailing list)
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?
func=detail&aid=7802&group_id=2622&atid=10079>
Ross B. (Guest)
on 2007-09-26 00:40
(Received via mailing list)
On Fri, 12 Jan 2007 02:15:10 -0000, Gregory B.
<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,
lists (Guest)
on 2007-09-26 00:47
(Received via mailing list)
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?
> 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
This topic is locked and can not be replied to.