[root@freeswitch2 esl]# make perlmod
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 perl
make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
g++ -shared -Xlinker -x esl_wrap.o perlxsi.o ../libesl.a -Wl,-E -Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -o ESL.so -L.
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
make[1]: *** [ESL.so] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
make: *** [perlmod] Error 2
[root@freeswitch2 esl]#
под lua и python модули ESL компилятся. В чем может быть дело?
[root@freeswitch2 esl]# uname -a
Linux freeswitch2 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@freeswitch2 esl]# more /etc/redhat-release
CentOS release 5.8 (Final)