Here's what I get after installing CentOS 64bit.
ruby extconf.rb
checking for curl-config… yes
checking for curlinfo_redirect_time… yes
checking for curlinfo_response_code… yes
checking for curlinfo_filetime… yes
checking for curlinfo_redirect_count… yes
checking for curlinfo_os_errno… yes
checking for curlinfo_num_connects… yes
checking for curlinfo_ftp_entry_path… yes
checking for curl_version_ssl… yes
checking for curl_version_libz… yes
checking for curl_version_ntlm… yes
checking for curl_version_gssnegotiate… yes
checking for curl_version_debug… yes
checking for curl_version_asynchdns… yes
checking for curl_version_spnego… yes
checking for curl_version_largefile… yes
checking for curl_version_idn… yes
checking for curl_version_sspi… yes
checking for curl_version_conv… yes
checking for curlproxy_http… yes
checking for curlproxy_socks4… yes
checking for curlproxy_socks5… yes
checking for curlauth_basic… yes
checking for curlauth_digest… yes
checking for curlauth_gssnegotiate… yes
checking for curlauth_ntlm… yes
checking for curlauth_anysafe… yes
checking for curlauth_any… yes
checking for curle_tftp_notfound… yes
checking for curle_tftp_perm… yes
checking for curle_tftp_diskfull… yes
checking for curle_tftp_illegal… yes
checking for curle_tftp_unknownid… yes
checking for curle_tftp_exists… yes
checking for curle_tftp_nosuchuser… yes
creating curb_config.h
creating Makefile
[taf2@centos-test ext]$ make
gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/
x86_64-linux -I. -DRUBY_EXTCONF_H=\”curb_config.h\” -fPIC -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector—param=ssp-
buffer-size=4 -m64 -mtune=generic -Wall -fno-strict-aliasing -fPIC -
Wall -c curb_errors.c
gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/
x86_64-linux -I. -DRUBY_EXTCONF_H=\”curb_config.h\” -fPIC -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector—param=ssp-
buffer-size=4 -m64 -mtune=generic -Wall -fno-strict-aliasing -fPIC -
Wall -c curb_multi.c
gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/
x86_64-linux -I. -DRUBY_EXTCONF_H=\”curb_config.h\” -fPIC -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector—param=ssp-
buffer-size=4 -m64 -mtune=generic -Wall -fno-strict-aliasing -fPIC -
Wall -c curb_postfield.c
gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/
x86_64-linux -I. -DRUBY_EXTCONF_H=\”curb_config.h\” -fPIC -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector—param=ssp-
buffer-size=4 -m64 -mtune=generic -Wall -fno-strict-aliasing -fPIC -
Wall -c curb_easy.c
gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/
x86_64-linux -I. -DRUBY_EXTCONF_H=\”curb_config.h\” -fPIC -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector—param=ssp-
buffer-size=4 -m64 -mtune=generic -Wall -fno-strict-aliasing -fPIC -
Wall -c curb.c
gcc -shared -L”/usr/lib64” -o curb_core.so curb_errors.o curb_multi.o
curb_postfield.o curb_easy.o curb.o -lruby -lpthread -ldl -lcrypt -lm -
lc -L/usr/kerberos/lib64 -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -
lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz
[taf2@centos-test ext]$ uname -a
Linux centos-test 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008
x86_64×86_64×86_64 GNU/Linux