latest GIT now detects this missing symbol and auto-enables our built in one.
Or what you could do is configure the code with the --without-libcurl
switch. This makes FreeSWITCH to ignore the system installed CURL
library and use it's own bundled libcurl instead. I'd personally
recommend you to do this instead as the later versions of libcurl may
have broken a few things that FS requires
On Thu, Dec 1, 2011 at 5:22 AM, Tamas.Cseke <cstomi.levlist@gmail.com> wrote:
> It has been fixed. try latest git
>
>
> On 2011-12-01 05:56, Farhan Husain wrote:
>
> Unfortunately this did not help. I installed the library. The Makefile
> already had -lcurl in several places. I tried to add -lcurl4-dev, -lcurl-dev
> and -lcurldev. The linker could not find any of those. Is there any other
> name for the library or -lcurl includes the libcurl4-dev library?
>
> On Wed, Nov 30, 2011 at 12:52 AM, Thomas Mueller <thomas@chaschperli.ch>
> wrote:
>>
>> On 30.11.2011 08:14, Farhan Husain wrote:
>>>
>>> Hi all,
>>>
>>> I am trying to build the latest source from Git in an Ubuntu machine. The
>>> error I am getting is this:
>>>
>>> Making all in .
>>> quiet_libtool: link: gcc -I/usr/local/src/freeswitch/src/include
>>> -I/usr/local/src/freeswitch/src/include
>>> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror
>>> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
>>> -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2
>>> -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
>>> -I/usr/local/src/freeswitch/libs/apr/include
>>> -I/usr/local/src/freeswitch/libs/apr-util/include
>>> -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib
>>> -I/usr/local/src/freeswitch/libs/stfu
>>> -I/usr/local/src/freeswitch/libs/sqlite
>>> -I/usr/local/src/freeswitch/libs/pcre
>>> -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include
>>> -I/usr/local/src/freeswitch/libs/srtp/include
>>> -I/usr/local/src/freeswitch/libs/srtp/crypto/include
>>> -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src
>>> -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -DENABLE_SRTP
>>> -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT
>>> -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch
>>> freeswitch-switch.o /usr/lib/libcurl.so -lm -lz ./.libs/libfreeswitch.so
>>> libs/apr/.libs/libapr-1.a -luuid -lrt -ldl -lcrypt -lpthread
>>> libs/libedit/src/.libs/libedit.a -lssl -lcrypto -lncurses -pthread
>>> -Wl,-rpath -Wl,/usr/local/freeswitch/lib
>>>
>>> ./.libs/libfreeswitch.so: undefined reference to `Curl_setopt'
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [freeswitch] Error 1
>>>
>>> I have installed php-curl (sudo apt-get install php5-curl) but to no
>>> avail. Does anyone have any solution to this?
>>
>>
>> seems like the curl dev package is missing ( libcurl4-dev or libcurl3-dev)
>> -> sudo aptitude install libcurl4-dev
>>
>> - Thomas
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org