cURL / Mailing Lists / curl-library / Single Mail

curl-library

re: Cannot install libcurl bindings gem (curb) on Windows

From: Volkan Unsal <spocksplanet_at_gmail.com>
Date: Fri, 2 Jul 2010 04:45:21 -0400

Hi Daniel,

I am now getting this error. This might be because the package of libcurl I
downloaded was built for MSVC, and yet I am using Mingw32 -- isn't there a
package for Mingw32? I don't know how to switch over to using MSVC.

gcc -shared -s -o curb_core.so curb.o curb_easy.o curb_errors.o curb_multi.o
curb_postfield.o curb_upload.o -L. -LC:/Ruby/lib -LB:\curl/lib -L.
-Wl,--enable-auto-image-base,--enable-auto-import,--export-all
-lmsvcrt-ruby18 -lcurl -lshell32 -lws2_32
C:\Ruby\devkit\gcc\3.4.5\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lcurl
collect2: ld returned 1 exit status
make: *** [curb_core.so] Error 1
rake aborted!
Make failed (status 2)

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-02