forio / Curl.jl

a Julia HTTP curl library
Other
11 stars 8 forks source link

on windows: error compiling anonymous: could not load module libcurl #10

Open haavardhvarnes opened 11 years ago

haavardhvarnes commented 11 years ago

Even though curl work perfectly from command line.

Any idea what's wrong?

pauladam commented 11 years ago

Julia is looking for libcurl but cant seem to find it on your system. I havent tested on windows but is your Julia able to correctly find and load misc. modules? Im guessing the error comes from lines like this:

call( (:curl_easy_init, "libcurl"), Ptr{Uint8}, ())

Out of curiosity does this work for you?

ccall( (:clock, "libc"), Int32, ())
pauladam commented 11 years ago

also have you tried installing a windows copy of libcurl? http://curl.haxx.se/download.html

haavardhvarnes commented 11 years ago

Neither calls work.

I have downloaded CURL and it works in cmd-window from any folder (and thus is reachable from the path):

C:>curl -v "http://www.google.com"

C:>

pauladam commented 11 years ago

I would try specifically installing a windows version of libcurl from the curl site linked earlier. Notice this is not the same thing as the Curl client package.

samocooper commented 10 years ago

haarvardhvarnes did you find a solution to this I am having exactly the same problem

haavardhvarnes commented 10 years ago

no unfortunately I have not :(

On Tue, Apr 29, 2014 at 1:22 PM, samocooper notifications@github.comwrote:

haarvardhvarnes did you find a solution to this I am having exactly the same problem

— Reply to this email directly or view it on GitHubhttps://github.com/forio/Curl.jl/issues/10#issuecomment-41664675 .

WestleyArgentum commented 10 years ago

I would really recommend checking out Requests.jl, we've been doing a much better job maintaining it - this library is basically deprecated.