Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: apxs building with libcurl... |
|
Author |
|
Lyudmila.Fokina
Joined: 10 Apr 2019 Posts: 6 Location: USA
|
Posted: Tue 28 May '19 21:35 Post subject: apxs building with libcurl... |
|
|
I am building my module with apxs and it builds find, but when I try to enable the module I am getting an error:
Cannot load modules/mod_xxx.so into server: dlopen(/usr/local/apache2/modules/mod_xxx.so, 10): Symbol not found: _curl_easy_cleanup\n Referenced from: /usr/local/apache2/modules/mod_xxx.so\n Expected in: flat namespace\n in /usr/local/apache2/modules/mod_xxx.so
I am using curl in my module. And this is how I build the module:
apxs -c '-o mod_xxx.so' *.c
apxs -n mod_xxx -i -a mod_xxx.la
What do I miss? How do I link with libcurl?
I am building on Mac (if it is matter). |
|
Back to top |
|
Lyudmila.Fokina
Joined: 10 Apr 2019 Posts: 6 Location: USA
|
Posted: Tue 28 May '19 22:08 Post subject: Re: apxs building with libcurl... |
|
|
Solved...
Just needed to link with curl "-lcurl" |
|
Back to top |
|
|
|
|
|
|