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?<br>
<br><div class="gmail_quote">On Wed, Nov 30, 2011 at 12:52 AM, Thomas Mueller <span dir="ltr"><<a href="mailto:thomas@chaschperli.ch">thomas@chaschperli.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">On 30.11.2011 08:14, Farhan Husain wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I am trying to build the latest source from Git in an Ubuntu machine. The error I am getting is this:<br>
<br>
Making all in .<br>
quiet_libtool: link: gcc -I/usr/local/src/freeswitch/<u></u>src/include -I/usr/local/src/freeswitch/<u></u>src/include -I/usr/local/src/freeswitch/<u></u>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/<u></u>libs/apr/include -I/usr/local/src/freeswitch/<u></u>libs/apr-util/include -I/usr/local/src/freeswitch/<u></u>libs/apr-util/xml/expat/lib -I/usr/local/src/freeswitch/<u></u>libs/stfu -I/usr/local/src/freeswitch/<u></u>libs/sqlite -I/usr/local/src/freeswitch/<u></u>libs/pcre -I/usr/local/src/freeswitch/<u></u>libs/speex/include -Ilibs/speex/include -I/usr/local/src/freeswitch/<u></u>libs/srtp/include -I/usr/local/src/freeswitch/<u></u>libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/<u></u>libs/spandsp/src -I/usr/local/src/freeswitch/<u></u>libs/tiff-3.8.2/libtiff -DENABLE_SRTP -I/usr/local/src/freeswitch/<u></u>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/<u></u>libedit.a -lssl -lcrypto -lncurses -pthread -Wl,-rpath -Wl,/usr/local/freeswitch/lib<br>
<br>
./.libs/libfreeswitch.so: undefined reference to `Curl_setopt'<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [freeswitch] Error 1<br>
<br>
I have installed php-curl (sudo apt-get install php5-curl) but to no avail. Does anyone have any solution to this?<br>
</blockquote>
<br></div></div>
seems like the curl dev package is missing ( libcurl4-dev or libcurl3-dev) -> sudo aptitude install libcurl4-dev<span class="HOEnZb"><font color="#888888"><br>
<br>
- Thomas<br>
</font></span></blockquote></div><br>