Hello All. I'm trying to build freeswitch for my testing purposes. Last 2 days I try to build freeswitch with php support Everhing goes fine however when I try to compile phpmod for esl I got strange errors. And seaching google does not provide information 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 2 I follow this document https://confluence.freeswitch.org/display/FREESWITCH/Debian#Debian-BuildingF... Debian 7.6 64bit. Freeswtich 1.2.stable, 1.4 and lastest was giving same errors. I think there where missing libs and I can't find it. My best regards.