[Freeswitch-users] ESL - phpmod compile Error

Peter Olsson peter.olsson at visionutveckling.se
Wed Aug 1 11:18:12 MSD 2012


Submit to http://jira.freeswitch.org

/Peter

Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Lloyd Aloysius
Skickat: den 1 augusti 2012 08:21
Till: FreeSWITCH Users Help
Ämne: [Freeswitch-users] ESL - phpmod compile Error

Hi All:

when I compile the ESL module for php . OS - Centos 6.2 / 64 bit

libs/esl

make phpmod

I got the following Errors.

 make phpmod
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php
make[1]: Entering directory `/usr/src/freeswitch.git/libs/esl/php'
g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib6464 -lcrypt -lcrypt -ledit -lncurses -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm -lcrypt -lpthread -o ESL.so -L.
/usr/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
make[1]: *** [ESL.so] Error 1
make[1]: Leaving directory `/usr/src/freeswitch.git/libs/esl/php'
make: *** [phpmod] Error 2


How to solve this issue.

Thanks
Lloyd
!DSPAM:5018c8de32761380847499!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/41cc5284/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list