libcurl

shared object ‘RCurl.so’ not found

瘦欲@ 提交于 2019-12-08 04:28:23
问题 Data about my system R version 3.2.1 (2015-06-18) (World-Famous Astronaut) Ubuntu 12.04 LTS $ locate RCurl.so : ~/R/i686-pc-linux-gnu-library/2.15/RCurl/libs/RCurl.so ~/R/i686-pc-linux-gnu-library/3.0/RCurl/libs/RCurl.so ~/R/i686-pc-linux-gnu-library/3.1/RCurl/libs/RCurl.so /usr/local/lib/R/site-library/RCurl/libs/RCurl.so $ r -pie '.libPaths()' : [1] "~/R/i686-pc-linux-gnu-library/3.2" [2] "/usr/local/lib/R/site-library" [3] "/usr/lib/R/site-library" [4] "/usr/lib/R/library" $ R CMD ldd /usr

libcurl with libssh2 - one or more libs available at link-time are not available run-time

泄露秘密 提交于 2019-12-08 01:56:54
问题 I get the following error when trying to ./configure libcurl 7.22.0 one or more libs available at link-time are not available run-time. Libs used at link-time: -lssh2 -lssl -lcrypto -lrt -lz When I ./configure with --without-libssh2 it works just fine. Steps I have taken: apt-get install libssl-dev apt-get install libssh-dev cd /var wget http://www.libssh2.org/download/libssh2-1.3.0.tar.gz tar -zxvf libssh2-1.3.0.tar.gz cd libssh2-1.3.0 ./configure make make install SSL support works fine, by

WARNING: unrecognized options: --disable-netaccessor-libcurl

孤街浪徒 提交于 2019-12-08 00:20:31
I am trying to install Xerces-C to my Shibboleth 2 SP following this guide: https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLinuxSourceBuild But when i run: ./configure --prefix=/opt/shibboleth-sp --disable-netaccessor-libcurl i get this warning: WARNING: unrecognized options: --disable-netaccessor-libcurl [...] config.status: creating src/xercesc/util/Xerces_autoconf_config.hpp config.status: src/xercesc/util/Xerces_autoconf_config.hpp is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing libtool-rpath-patch

cURL timeout when calling HTTPS page with old certs

耗尽温柔 提交于 2019-12-07 22:38:14
问题 I am trying to get the XML from a Data Service at my institution using PHP and cURL (libcurl). The development is being done on my local machine. It is code that is eval'd in PHP as part of Drupal and the Transformations module. It has SSL support as shown from running: $curl-config --features (from libcurl docs) SSL IPv6 libz NTLM The PHP code being executed: /** * Get a web file (HTML, XHTML, XML, image, etc.) from a URL. Return an * array containing the HTTP server response header fields

libcurl HTTP HEAD request without automatic Proxy-Connection header

♀尐吖头ヾ 提交于 2019-12-07 21:12:39
问题 I need clarifications on using libcurl for the following: I need to send an http HEAD request shown as below :: HEAD /mshare/3/30002:12:primary/stream_xNKNVH.mpeg HTTP/1.1 Host: 192.168.70.1:8080 Accept: */* User-Agent: Kreatel_IP-STB getcontentFeatures.dlna.org: 1 The code I wrote (shown below) , sends the HEAD Request in slightly different way: curl_global_init(CURL_GLOBAL_ALL); CURL* ctx = NULL; const char *url = "http://192.168.70.1:8080/mshare/3/30002:12:primary/stream_xNKNVH.mpeg" ;

libCurl x64 build problems Visual Studio 2013 (x64) Visual Studio & CMake

纵饮孤独 提交于 2019-12-07 14:58:51
问题 I am trying to build libCurl x64 on Windows 8.1 x64 and I am having linker errors. I need to be able to do this as I need to create a 64 bit debug version of the library so that I can trace some strange FTP related protocol issues I am encountering. The fundamental error output (trimmed for brevity) is as follows 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ... 2>C:\Users\jcoffey\main\extlibs\curl-7.35.0\lib\smtp.c(2174): warning C4267: '+=' : conversion from 'size_t'

How can I use a member function pointer in libcurl

杀马特。学长 韩版系。学妹 提交于 2019-12-07 14:32:58
问题 I am using libcurl I have my downloading of files inside of a class, to which I want to see a progress function. I notice I can set a typical function pointer by curl_easy_setopt(mCurl, CURLOPT_PROGRESSFUNCTION, progress_func3); However, I would like to set it to a function pointer to my class. I can get the code to compile with curl_easy_setopt(mCurl, CURLOPT_PROGRESSFUNCTION, &MyClass::progress_func3); and the progress_func3 function will get called. The problem is, as soon as it returns

cURL using multiple proxies in a chain

吃可爱长大的小学妹 提交于 2019-12-07 14:29:53
问题 Is it possible to chain multiple proxies in a single request using cURL? For example: start cURL -> proxy1 -> proxy2 -> destination address Can this be achieved using cURL? 回答1: A proxy is by definition a middle man. Software running and doing work between the client and the server. The client asks the proxy which then it turn asks the server. "Chained" proxies would then imply that a first proxy would ask a second proxy, but as the client asks the proxy to do its request it cannot be the job

LibCURL when used on Mac with C

两盒软妹~` 提交于 2019-12-07 14:13:31
问题 Basically, I'm trying to simply use libCURL to download a web site and I've been using this code: #include <stdio.h> #include <curl/curl.h> int main(void) { CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "http://google.com"); res = curl_easy_perform(curl); /* always cleanup */ curl_easy_cleanup(curl); } return 0; } And getting this error: Undefined symbols: "_curl_easy_perform", referenced from: _main in ccGyMZQR.o "_curl_easy_init",

The application was unable to start (0xc0150002) with libcurl C++ Windows 7 VS 2010 [duplicate]

↘锁芯ラ 提交于 2019-12-07 10:50:15
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: The application failed to initialize properly (0xc0150002) Hi Everyone so i followed the guide below to get my Visual Studio 2010 to work with libcurl & Windows 7. Link 1 Link 2 However i am facing the above stated error: The application was unable to start (0xc0150002) I followed steps carefully: A: Setup Create Empty Project & add in source file provided by libcurl (simple.c) B: Link your libraries You may try