cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem using curl in a Apache module

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 26 Mar 2013 20:53:10 +0100

On Tue, Mar 26, 2013 at 09:06:28AM +0100, Juanjo C wrote:
> I'm trying to do a Apache module in C and in this module I'm using curl.

Then the curl-library mailing list is the right place to ask.

> With APXS, I can to deploy the module into Apache, but when I try to restart
> Apache, it shows me this error. "undefined symbol: curl_easy_perform. Action
> 'configtest' failed."
>
> The module is trivial... only a example of how to made a connection via HTTP
> from a Apache module to a URL.

How are you building this module? It sounds like either libcurl.so.4 isn't
a dependency or it can't be found at run-time as it's loaded. ldd on the binary
module would tell you both.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-26