Native library missing

65 views
Skip to first unread message

Colin

unread,
Sep 29, 2009, 11:01:34 AM9/29/09
to Typhoeus
Hey,

So I've been working with Typhoeus and I've run into a snag. I'm
getting an error about no such file to load -- typhoeus/native. I
see in the typhoeus.rb line 7:

require 'typhoeus/native'

yet I don't see that file in the typhoeus directory nor do I see that
file in your tree on github. Am I doing something wrong or is that
file missing?

Thanks!!!

Paul Dix

unread,
Sep 29, 2009, 11:05:42 AM9/29/09
to typh...@googlegroups.com
That's native.bundle, which should be built when you install the gem.
Can you tell me more about your environment? OS, Ruby, libcurl, and
gems versions.

Thanks,
Paul

Colin

unread,
Sep 29, 2009, 11:23:24 AM9/29/09
to Typhoeus
Paul,

OS: Mac OSX 10.5.8
Ruby - ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
Libcurl: 7.16.3 OpenSSL/0.9.71l zlib/1.2.3

Typhoeus gem: pauldix-typhoeus (0.1.2)
Rack gem: (1.0.0)

Perhaps this was an installation issue? I've been using the library
for simple gets, this has just happened as I intended to replace my
live test calls with the Remote mock.

Thanks,

Colin

Colin

unread,
Sep 29, 2009, 11:26:37 AM9/29/09
to Typhoeus
Paul,

I thought I had updated curl and libcurl to the proper versions. I'll
get that fixed and reinstall the gem.

Thanks!

On Sep 29, 10:05 am, Paul Dix <paulc...@gmail.com> wrote:

whatstin

unread,
Oct 1, 2009, 2:52:21 PM10/1/09
to Typhoeus
I've installed libcurl and typhoeus and when I try to run my app, I
get the following error:

Failed to load /usr/local/lib/ruby/gems/1.8/gems/pauldix-
typhoeus-0.1.2/lib/typhoeus/native.bundle

I have the gem installed:
$ gem list | grep typhoeus
pauldix-typhoeus (0.1.2)

I have curl/libcurl installed:

$ curl --version
curl 7.19.6 (i386-apple-darwin10.0.0) libcurl/7.19.6 OpenSSL/0.9.8k
zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IPv6 Largefile NTLM SSL libz

Anyone have any idea what I'm doing wrong?

My system:
Mac OSX 10.6.1
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9.4.0]

Thanks in advance for the help!
Dustin

Paul Dix

unread,
Oct 4, 2009, 1:58:19 PM10/4/09
to typh...@googlegroups.com
Hi Dustin,
Can you look in your gem directory for Typhoeus and tell me if
native.bundle is there anywhere? Be sure to check in /ext.

Thanks,
Paul

whatstin

unread,
Oct 5, 2009, 1:01:53 PM10/5/09
to Typhoeus
Hi Paul,
native.bundle is there:
$ pwd
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus

$ ls -la
total 240
drwxr-xr-x 16 root wheel 544 Oct 1 11:16 .
drwxr-xr-x 3 root wheel 102 Oct 1 11:16 ..
-rw-r--r-- 1 root wheel 3844 Oct 1 11:16 Makefile
drwxr-xr-x 3 root wheel 102 Oct 1 11:16 conftest.dSYM
-rw-r--r-- 1 root wheel 1682 Oct 1 11:16 extconf.rb
-rw-r--r-- 1 root wheel 1880 Oct 1 11:16 mkmf.log
-rwxr-xr-x 1 root wheel 23456 Oct 1 11:16 native.bundle
-rw-r--r-- 1 root wheel 175 Oct 1 11:16 native.c
-rw-r--r-- 1 root wheel 259 Oct 1 11:16 native.h
-rw-r--r-- 1 root wheel 3216 Oct 1 11:16 native.o
-rw-r--r-- 1 root wheel 6291 Oct 1 11:16 typhoeus_easy.c
-rw-r--r-- 1 root wheel 285 Oct 1 11:16 typhoeus_easy.h
-rw-r--r-- 1 root wheel 23540 Oct 1 11:16 typhoeus_easy.o
-rw-r--r-- 1 root wheel 6329 Oct 1 11:16 typhoeus_multi.c
-rw-r--r-- 1 root wheel 229 Oct 1 11:16 typhoeus_multi.h
-rw-r--r-- 1 root wheel 23884 Oct 1 11:16 typhoeus_multi.o

$ gem list | grep typhoeus
pauldix-typhoeus (0.1.2)

Thanks for your help,
Dustin

Paul Dix

unread,
Oct 5, 2009, 1:16:50 PM10/5/09
to typh...@googlegroups.com
What happens if you copy that into /lib? That might fix the problem.
It should do that as part of the build, but who knows...

whatstin

unread,
Oct 5, 2009, 2:54:55 PM10/5/09
to Typhoeus
Shoot, that wasn't it. In fact, the native.bundle file *is* in lib/
typhoeus surprisingly.

Here's the error:
Failed to load /usr/local/lib/ruby/gems/1.8/gems/pauldix-
typhoeus-0.1.2/lib/typhoeus/native.bundle

Full stack trace:
$ script/server
=> Booting Mongrel
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
Failed to load /usr/local/lib/ruby/gems/1.8/gems/pauldix-
typhoeus-0.1.2/lib/typhoeus/native.bundle
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
native.bundle
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/
typhoeus.rb:7
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
./script/../config/../vendor/rails/railties/lib/rails/
gem_dependency.rb:208:in `load'
./script/../config/../vendor/rails/railties/lib/initializer.rb:307:in
`load_gems'
./script/../config/../vendor/rails/railties/lib/initializer.rb:307:in
`each'
./script/../config/../vendor/rails/railties/lib/initializer.rb:307:in
`load_gems'
./script/../config/../vendor/rails/railties/lib/initializer.rb:164:in
`process'
./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in
`send'
./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in
`run'
/Users/dust/Projects/diehard/trunk/site/config/environment.rb:9
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/railties/lib/
commands/server.rb:84
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
script/server:3
Failed to load /usr/local/lib/ruby/gems/1.8/gems/pauldix-
typhoeus-0.1.2/lib/typhoeus/native.bundle
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
native.bundle
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/
typhoeus.rb:7
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
./script/../config/../vendor/rails/railties/lib/rails/
gem_dependency.rb:208:in `load'
./script/../config/../vendor/rails/railties/lib/initializer.rb:307:in
`load_gems'
./script/../config/../vendor/rails/railties/lib/initializer.rb:307:in
`each'
./script/../config/../vendor/rails/railties/lib/initializer.rb:307:in
`load_gems'
./script/../config/../vendor/rails/railties/lib/initializer.rb:169:in
`process'
./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in
`send'
./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in
`run'
/Users/dust/Projects/diehard/trunk/site/config/environment.rb:9
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/Users/dust/Projects/diehard/trunk/site/vendor/rails/railties/lib/
commands/server.rb:84
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
script/server:3
=> Call with -d to detach
=> Ctrl-C to shutdown server


in the lib/typhoeus directory, native.bundle is there:

$ ls -la
total 144
drwxr-xr-x 12 root wheel 408 Oct 5 13:49 .
drwxr-xr-x 4 root wheel 136 Oct 5 13:49 ..
-rw-r--r-- 1 root wheel 5077 Oct 5 13:49 easy.rb
-rw-r--r-- 1 root wheel 652 Oct 5 13:49 filter.rb
-rw-r--r-- 1 root wheel 3961 Oct 5 13:49 hydra.rb
-rw-r--r-- 1 root wheel 524 Oct 5 13:49 multi.rb
-rwxr-xr-x 1 root wheel 23456 Oct 5 13:49 native.bundle
-rw-r--r-- 1 root wheel 9804 Oct 5 13:49 remote.rb
-rw-r--r-- 1 root wheel 3182 Oct 5 13:49 remote_method.rb
-rw-r--r-- 1 root wheel 1837 Oct 5 13:49 remote_proxy_object.rb
-rw-r--r-- 1 root wheel 2374 Oct 5 13:49 request.rb
-rw-r--r-- 1 root wheel 670 Oct 5 13:49 response.rb

Paul Dix

unread,
Oct 5, 2009, 3:18:07 PM10/5/09
to typh...@googlegroups.com
Can you give me the output of just trying to require in irb? Without
all the other stuff. e.g.
irb
require 'rubygems'
require 'typhoues'

Not sure that it will tell me anything more, but who knows..
Paul

whatstin

unread,
Oct 5, 2009, 3:28:29 PM10/5/09
to Typhoeus
See what you think:

$ irb
irb(main):001:0> require 'rubygems'
=> false
irb(main):002:0> require 'typhoeus'
LoadError: Failed to load /usr/local/lib/ruby/gems/1.8/gems/pauldix-
typhoeus-0.1.2/lib/typhoeus/native.bundle
from /usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/
typhoeus/native.bundle
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/
typhoeus.rb:7
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `require'
from (irb):2
irb(main):003:0> exit

Dustin

On Oct 5, 2:18 pm, Paul Dix <paulc...@gmail.com> wrote:
> Can you give me the output of just trying to require in irb? Without
> all the other stuff. e.g.
> irb
> require 'rubygems'
> require 'typhoues'
>
> Not sure that it will tell me anything more, but who knows..
> Paul
>
>
>
> On Mon, Oct 5, 2009 at 2:54 PM, whatstin <dkander...@gmail.com> wrote:
>
> > Shoot, that wasn't it.  In fact, the native.bundle file *is* in lib/
> > typhoeus surprisingly.
>
> > Here's the error:
> > Failed to load /usr/local/lib/ruby/gems/1.8/gems/pauldix-
> > typhoeus-0.1.2/lib/typhoeus/native.bundle
>
> > Full stack trace:
> > $ script/server
> > => Booting Mongrel
> > => Rails 2.3.3 application starting onhttp://0.0.0.0:3000
> ...
>
> read more »

Paul Dix

unread,
Oct 5, 2009, 4:02:23 PM10/5/09
to typh...@googlegroups.com
Hi Dustin,
Can you try uninstalling and reinstalling with verbose turned on and
give that output?
gem install -V pauldix-typhoeus

And can you also do this?
ruby -e "p 1.size"

Is this a snow leopard upgrade?

Thanks,
Paul

Paul Dix

unread,
Oct 5, 2009, 4:05:10 PM10/5/09
to typh...@googlegroups.com
Also, it looks like your libcurl is a 32 bit version. You'll need to
rebuild libcurl from source. That could also be causing the problem.

whatstin

unread,
Oct 6, 2009, 11:00:53 AM10/6/09
to Typhoeus
Yes, my OS is Snow Leopard. It's currently running in 32 bit kernel
mode (I'm pretty sure). Anyway, I'm trying to figure out how to
install a 64 bit version of libcurl. If anyone has a clear path to do
this, I'd love the help. There are some cryptic instructions on the
curl mailing list but I haven't been able to make sense of them yet.

Thanks,
Dustin
> > Can you try uninstalling and reinstalling with verbose turned on and
> > give that output?
> > gem install -V pauldix-typhoeus
>
> > And can you also do this?
> > ruby -e "p 1.size"
>
> > Is this a snow leopard upgrade?
>
> > Thanks,
> > Paul
>
> ...
>
> read more »

whatstin

unread,
Oct 6, 2009, 11:02:38 AM10/6/09
to Typhoeus
Paul,

Here's my output from those commands:

$ ruby -e "p 1.size"
4

and

$ sudo gem install -V pauldix-typhoeus
GET 200 OK: http://gems.rubyforge.org/latest_specs.4.8.gz
GET 200 OK: http://gems.github.com/latest_specs.4.8.gz
Installing gem pauldix-typhoeus-0.1.2
Downloading gem pauldix-typhoeus-0.1.2.gem
GET 200 OK: http://gems.github.com/gems/pauldix-typhoeus-0.1.2.gem
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
extconf.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
typhoeus_easy.h
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
typhoeus_easy.c
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
typhoeus_multi.h
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
typhoeus_multi.c
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
Makefile
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
native.h
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/ext/typhoeus/
native.c
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/
typhoeus.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
easy.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
multi.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
remote.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
remote_proxy_object.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
filter.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
remote_method.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
response.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
hydra.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/lib/typhoeus/
request.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/
spec.opts
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/
spec_helper.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/typhoeus/
easy_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/typhoeus/
multi_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/typhoeus/
remote_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/typhoeus/
remote_proxy_object_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/typhoeus/
filter_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/typhoeus/
remote_method_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/typhoeus/
response_spec.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/servers/
delay_fixture_server.rb
/usr/local/lib/ruby/gems/1.8/gems/pauldix-typhoeus-0.1.2/spec/servers/
method_server.rb
Building native extensions. This could take a while...
/usr/local/bin/ruby extconf.rb
checking for #include <curl/curl.h>
... yes
checking for curl_easy_init() in -lcurl... yes
creating Makefile

make
gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin9.4.0 -I. -fno-
common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -g -DXP_UNIX -
O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -
Winline -c native.c
gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin9.4.0 -I. -fno-
common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -g -DXP_UNIX -
O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -
Winline -c typhoeus_easy.c
typhoeus_easy.c: In function ‘easy_setopt_string’:
typhoeus_easy.c:25: warning: passing argument 2 of ‘curl_easy_setopt’
with different width due to prototype
typhoeus_easy.c: In function ‘easy_setopt_long’:
typhoeus_easy.c:34: warning: passing argument 2 of ‘curl_easy_setopt’
with different width due to prototype
typhoeus_easy.c: In function ‘easy_getinfo_string’:
typhoeus_easy.c:44: warning: passing argument 2 of ‘curl_easy_getinfo’
with different width due to prototype
typhoeus_easy.c: In function ‘easy_getinfo_long’:
typhoeus_easy.c:55: warning: passing argument 2 of ‘curl_easy_getinfo’
with different width due to prototype
typhoeus_easy.c: In function ‘easy_getinfo_double’:
typhoeus_easy.c:66: warning: passing argument 2 of ‘curl_easy_getinfo’
with different width due to prototype
gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin9.4.0 -I. -fno-
common -D_XOPEN_SOURCE=1 -fno-common -pipe -fno-common -g -DXP_UNIX -
O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -
Winline -c typhoeus_multi.c
typhoeus_multi.c: In function ‘multi_read_info’:
typhoeus_multi.c:68: warning: passing argument 1 of ‘rb_raise’ with
different width due to prototype
typhoeus_multi.c: In function ‘active_handle_count’:
typhoeus_multi.c:177: warning: passing argument 1 of ‘rb_int2inum’
with different width due to prototype
cc -dynamic -bundle -undefined suppress -flat_namespace -o
native.bundle native.o typhoeus_easy.o typhoeus_multi.o -L"." -L"/usr/
local/lib" -L"/opt/local/lib" -L. -lruby -lcurl -lpthread -ldl -
lobjc
ld: warning: in /usr/local/lib/libruby.dylib, file is not of required
architecture

make install
/usr/bin/install -c -m 0755 native.bundle /usr/local/lib/ruby/gems/1.8/
gems/pauldix-typhoeus-0.1.2/lib/typhoeus
Successfully installed pauldix-typhoeus-0.1.2
1 gem installed

Thanks,
Dustin
> > Can you try uninstalling and reinstalling with verbose turned on and
> > give that output?
> > gem install -V pauldix-typhoeus
>
> > And can you also do this?
> > ruby -e "p 1.size"
>
> > Is this a snow leopard upgrade?
>
> > Thanks,
> > Paul
>
> ...
>
> read more »

Paul Dix

unread,
Oct 6, 2009, 11:37:08 AM10/6/09
to typh...@googlegroups.com
Hey Dustin,
It looks like gcc is building the Typhoeus native extensions in
64-bit. The problem is that both your libcurl and ruby are 32 bit. I'd
suggest rebuilding both of those from source.

A quick fix might be to force it to build in 32 bit mode like so (at
least I think this does it):
CFLAGS="-O -arch i386" && gem install pauldix-typhoeus

I'd still recommend using the 64 bit versions of everything, but
whatever works...

Paul

whatstin

unread,
Oct 16, 2009, 6:16:21 PM10/16/09
to Typhoeus
PDixxy (can I call you that?),

Thanks a ton - that worked (upgrading ruby to 64 bit version).

Didn't change my libcurl installation, running into trouble trying to
install that.

Anyway, it's Friday night, can I buy you a beer? A shot? Cool,
here's a lime - i'll let you lick your own hand and pour salt on it.

Cheers,
Dustin
> >> >>> > active_support/dependencies.rb:156:in `require'...
>
> read more »

Paul Dix

unread,
Oct 17, 2009, 10:53:16 AM10/17/09
to typh...@googlegroups.com
haha awesome. glad you're up and running.

Paul
Reply all
Reply to author
Forward
0 new messages