# Curb Install Problems

**URL:** <https://www.ruby-forum.com/t/curb-install-problems/154768>\
**Category:** Ruby\
**Created:** [December 3, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/curb-install-problems/154768 "2008-12-03T18:39:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![reddaly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@reddaly](https://www.ruby-forum.com/u/reddaly)\
**Post date:** [December 3, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/curb-install-problems/154768/1 "2008-12-03T18:39:51Z")

</div>

Hey

I’m trying to install Curb on

os - CentOS  
ruby - ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]

I receive this error

Building native extensions. This could take a while…  
ERROR: Error installing curb:  
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb install curb  
checking for main() in -lcurl… yes  
checking for curl/curl.h… yes  
creating Makefile

make  
Makefile:123: warning: overriding commands for target  
`/usr/lib/ruby/gems/1.8/gems/curb-0.1.4/lib' Makefile:121: warning: ignoring old commands for target`/usr/lib/ruby/gems/1.8/gems/curb-0.1.4/lib’  
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -DHAVE\_CURL\_CURL\_H -fPIC  
-O2 -g -march=i386 -mcpu=i686 -Wall -fPIC -Wall -c curb.c  
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -DHAVE\_CURL\_CURL\_H -fPIC  
-O2 -g -march=i386 -mcpu=i686 -Wall -fPIC -Wall -c curb\_postfield.c  
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -DHAVE\_CURL\_CURL\_H -fPIC  
-O2 -g -march=i386 -mcpu=i686 -Wall -fPIC -Wall -c curb\_errors.c  
curb\_errors.c: In function `raise_curl_easy_error_exception': curb_errors.c:302: error:`CURLE\_SEND\_FAIL\_REWIND’ undeclared (first use  
in this function)  
curb\_errors.c:302: error: (Each undeclared identifier is reported only  
once  
curb\_errors.c:302: error: for each function it appears in.)  
curb\_errors.c:305: error: `CURLE_SSL_ENGINE_INITFAILED' undeclared (first use in this function) curb_errors.c:308: error:`CURLE\_LOGIN\_DENIED’ undeclared (first use in  
this function)  
make: \*\*\* [curb\_errors.o] Error 1

Any help would be great

Cheers, Red

---

<div class="post-metadata">

**Author:** ![reddaly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@reddaly](https://www.ruby-forum.com/u/reddaly)\
**Post date:** [December 3, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/curb-install-problems/154768/2 "2008-12-03T21:55:50Z")

</div>

On 2008-12-03, Red D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hey
> 
> I’m trying to install Curb on
> 
> os - CentOS  
> ruby - ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]

I had similar problems installing Curb on Ubuntu. I fumbled around and  
installed a few different Curl packages:

libcurl3 - 7.18.2-1ubuntu4  
libcurl3-gnutls - 7.18.2-1ubuntu4  
libcurl4-openssl-dev - 7.18.2-1ubuntu4

After installing all three, the Gem install worked perfectly.

---

<div class="post-metadata">

**Author:** ![reddaly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@reddaly](https://www.ruby-forum.com/u/reddaly)\
**Post date:** [December 4, 2008, 11:44am UTC](https://www.ruby-forum.com/t/curb-install-problems/154768/3 "2008-12-04T11:44:23Z")

</div>

Tom M. wrote:

> On 2008-12-03, Red D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hey
> > 
> > I’m trying to install Curb on
> > 
> > os - CentOS  
> > ruby - ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]
> 
> I had similar problems installing Curb on Ubuntu. I fumbled around and  
> installed a few different Curl packages:
> 
> libcurl3 - 7.18.2-1ubuntu4  
> libcurl3-gnutls - 7.18.2-1ubuntu4  
> libcurl4-openssl-dev - 7.18.2-1ubuntu4
> 
> After installing all three, the Gem install worked perfectly.

Thanks for the reply, I’m trying it out now, will let you know how it  
goes

Cheers, Red
