[sr-dev] modules/utils.so: undefined symbol: curl_easy_getinfo

Ovidiu Sas osas at voipembedded.com
Wed Dec 5 15:22:56 CET 2012


Hello Juha,

The utils module has an extra dependency on libcurl, which i
overlooked when I fixed cross compilation.
I pushed a fix.  Please test it and let me know if it's working for you now.

-ovidiu

On Wed, Dec 5, 2012 at 4:52 AM, Juha Heinanen <jh at tutpro.com> wrote:
> Daniel-Constantin Mierla writes:
>
>> 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.
>
> perhaps there is a bug here:
>
> ifeq ($(CROSS_COMPILE),)
> XML2CFG=$(shell which xml2-config)
> endif
>
> fneq ($(XML2CFG),)
>         DEFS += $(shell $(XML2CFG) --cflags )
>         LIBS += $(shell $(XML2CFG) --libs)
> else
>         DEFS+=-I$(LOCALBASE)/include/libxml2 \
>       -I$(LOCALBASE)/include
>         LIBS+=-L$(LOCALBASE)/lib -lcurl -lxml2
> endif
>
> in my debian which xml2-config
>
> $ which xml2-config
> /usr/bin/xml2-config
>
> if i read the above correctly, it means that the else part is not
> executed leaving the curl stuff out altogether.
>
> -- juha



More information about the sr-dev mailing list