Dear All, I get undermentioned error when I tried to build mod_perl, could anyone please let me know the fix. ------------------- ERROR ------------------------- making all mod_native_file making all mod_perl Creating mod_perl.so... /usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status gcc -w -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -DEMBED_PERL -I/usr/src/freeswitch-1.0.1/src/include -I/usr/src/freeswitch-1.0.1/libs/libteletone/src -fPIC -Werror -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -o .libs/mod_perl.so -shared -Wl,-x mod_perl.o -Wl,-E -Wl,-rpath -Wl,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE freeswitch_perl.o mod_perl_wrap.o perlxsi.o -L/usr/local/lib /usr/src/freeswitch-1.0.1/.libs/libfreeswitch.so /usr/src/freeswitch-1.0.1/libs/apr/.libs/libapr-1.a -lrt -L/usr/src/freeswitch-1.0.1/libs/srtp -lncurses /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 -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -Wl,--rpath -Wl,/usr/local/freeswitch/lib make[5]: *** [mod_perl.so] Error 1 make[4]: *** [all] Error 1 make[3]: *** [mod_perl-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 --------------------------------------------------------------- Also I have a question with mod_perl, As I am Asterisk user I am figuring out the way to call perl script from dialplan. exten => 88,1,Answer() exten => 88,2,AGI(check.pl) exten => 88,3,Goto(enter,s,4) I guess after installing mod_perl I would be able to do above function in freeswitch as well, is it something like this? <extension name="perl"> <condition field="destination_number" expression="^88$"> <action application="answer"/> <action application="perl" data="check.pl"/> </condition> </extension> looking forward for your reply! Thanks, Sheeju
Thanks Brian, that really get me going On Fri, Aug 15, 2008 at 8:04 PM, Brian West <brian@freeswitch.org> wrote:
install gdbm-devel
/b
On Aug 15, 2008, at 9:24 AM, Sheeju Alex wrote:
/usr/bin/ld: cannot find -lgdbm
Brian West sip:brian@freeswitch.org
_______________________________________________ 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
participants (2)
-
Brian West
-
Sheeju Alex