Perhaps there is a tool that give the required includes and libs, look for curl-config or pkgconfig. For pkgconfig you to see if it support libcurl -- you can list the supported packages via a command line option, don't remember it by hart.

If you find one of these tools in the system with support for curl library, then print the cflags and libs and see if the module is linked against them. Then best is to update Makefile of the utils module to use such tool -- it already does that for libxml2.

Cheers,
Daniel

On 12/5/12 10:02 AM, Juha Heinanen wrote:
i just built kamailio on debian squeeze from master and when i tried to
start it, i got:

0(19113) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module 
</usr/lib/sip-proxy/modules/utils.so>: /usr/lib/sip-proxy/modules/utils.so: undefined 
symbol: curl_easy_getinfo

built when fine without errors. when i look deb/squeeze build-depends,
it lists

    libcurl3-openssl-dev

however, debian squeeze does not have that package. instead it has
libcurl4-openssl-dev:

# apt-get install libcurl3-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-openssl-dev'
libcurl4-openssl-dev is already the newest version.

a week or so ago i didn't have this problem.  any suggestions?

-- juha

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to