Open haavardhvarnes opened 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, ())
also have you tried installing a windows copy of libcurl? http://curl.haxx.se/download.html
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"
GET / HTTP/1.1 User-Agent: curl/7.30.0 Host: www.google.com Accept: /
< HTTP/1.1 302 Found < Location: http://www.google.no/ < Cache-Control: private < Content-Type: text/html; charset=UTF-8 < Set-Cookie: PREF=ID=6142a2bdf42b315d:FF=0:TM=1372312497:LM=1372312497:S=3yYZju tHpTSrh_AC; expires=Sat, 27-Jun-2015 05:54:57 GMT; path=/; domain=.google.com < Set-Cookie: NID=67=jMry2yxxHGdNcwtIVPwCRUaOcUBAfmjanTPa8QQS-yIajltyOjwkL0-jwqI kiJvW0dbdHl6LN8bcquURYW95I4ZmFgf09XpmNN0XCpZLSO0DmoYKxfGmTPfOG0IV7P6o; expires=F ri, 27-Dec-2013 05:54:57 GMT; path=/; domain=.google.com; HttpOnly < P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/ bin/answer.py?hl=en&answer=151657 for more info." < Date: Thu, 27 Jun 2013 05:54:57 GMT
C:>
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.
haarvardhvarnes did you find a solution to this I am having exactly the same problem
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 .
I would really recommend checking out Requests.jl, we've been doing a much better job maintaining it - this library is basically deprecated.
Even though curl work perfectly from command line.
Any idea what's wrong?