install curb gem on Ruby

2019-08-25 01:28发布

I'm getting this error when trying to install curb on my Mac:

/usr/bin/gcc-4.2 -dynamic -bundle -o curb_core.bundle curb.o curb_easy.o curb_errors.o curb_multi.o curb_postfield.o curb_upload.o -L. -L/Users/user/.rvm/rubies/ruby-1.9.2-p318/lib -L/Users/user/.rvm/usr/lib -L. -L/usr/local/lib -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace  -lruby.1.9.1  -lpthread -ldl -lobjc  -lcurl
ld: in /usr/local/lib/libssl.0.9.8.dylib, missing required architecture x86_64 in file for architecture x86_64
collect2: ld returned 1 exit status
make: *** [curb_core.bundle] Error 1

Any suggestions?

标签: ruby macos gem
1条回答
在下西门庆
2楼-- · 2019-08-25 01:50

seems you need to have 64 bit openssl

check this

Trouble installing pg gem

查看更多
登录 后发表回答