<div dir="ltr"><div>You should install QDBM Database Libraries for C++ and Development files for libonig2</div><div><br></div>apt-get install libqdbm-dev<br><div><div>apt-get install libonig-dev</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 10:22 AM, Delifisek Tux <span dir="ltr"><<a href="mailto:delifisek.tux@gmail.com" target="_blank">delifisek.tux@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello All.<br><br></div>I'm trying to build freeswitch for my testing purposes.<br><br>Last 2 days I try to build freeswitch with php support<br><br></div>Everhing goes fine however when I try to compile phpmod for esl I got strange errors. And seaching google does not provide information<br><br>root@fs2:/usr/src/freeswitch/libs/esl# make phpmod<br>make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php<br>make[1]: Entering directory `/usr/src/freeswitch/libs/esl/php'<br>g++ -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o<br>g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib/php5 -L/usr/lib/x86_64-linux-gnu -lcrypt -lcrypt -lonig -lstdc++ -ldb -lqdbm -lrt -lm -ldl -lnsl -lcrypt -lcrypt -lpthread -o ESL.so -L.<br>/usr/bin/ld: cannot find -lonig<br>/usr/bin/ld: cannot find -lqdbm<br>collect2: error: ld returned 1 exit status<br>make[1]: *** [ESL.so] Error 1<br>make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/php'<br>make: *** [phpmod] Error 2<br><br></div><div>I follow this document <br><br><a href="https://confluence.freeswitch.org/display/FREESWITCH/Debian#Debian-BuildingFromSource" target="_blank">https://confluence.freeswitch.org/display/FREESWITCH/Debian#Debian-BuildingFromSource</a><br><br></div>Debian 7.6 64bit.<br></div>Freeswtich 1.2.stable, 1.4 and lastest was giving same errors. <br><br>I think there where missing libs and I can't find it.<br><br>My best regards. <br><div><div><br></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>