[Freeswitch-users] Build error: undefined reference to `Curl_setopt'
Farhan Husain
farhan.husain at csebuet.org
Wed Nov 30 10:14:23 MSK 2011
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?
Thanks,
Mohammad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111129/36b2cad9/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list