Freeswtich 1.2.stable, 1.4 and lastest was giving same errors.Everhing goes fine however when I try to compile phpmod for esl I got strange errors. And seaching google does not provide informationHello All.I'm trying to build freeswitch for my testing purposes.
Last 2 days I try to build freeswitch with php support
root@fs2:/usr/src/freeswitch/libs/esl# make phpmod
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
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/php'
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
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.
/usr/bin/ld: cannot find -lonig
/usr/bin/ld: cannot find -lqdbm
collect2: error: ld returned 1 exit status
make[1]: *** [ESL.so] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/php'
make: *** [phpmod] Error 2I follow this documentDebian 7.6 64bit.
https://confluence.freeswitch.org/display/FREESWITCH/Debian#Debian-BuildingFromSource
I think there where missing libs and I can't find it.
My best regards.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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