I suspect this line is the key piece of information:<br><font face="verdana, sans-serif"><span style="font-family:arial"><font face="verdana, sans-serif">/usr/bin/ld: cannot find -ledit<br><br>If I read that correctly you need to install libedit-dev. Give that a try and let us know.<br>
<br>-MC<br></font></span></font><br><div class="gmail_quote">On Tue, Jul 31, 2012 at 11:20 PM, Lloyd Aloysius <span dir="ltr"><<a href="mailto:lloyd.aloysius@gmail.com" target="_blank">lloyd.aloysius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="verdana,sans-serif">Hi All:</font><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">when I compile the ESL module for php . OS - Centos 6.2 / 64 bit</font></div>
<div><font face="verdana,sans-serif"><br>
</font></div><div><font face="verdana,sans-serif">libs/esl</font></div><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">make phpmod</font></div><div><font face="verdana,sans-serif"><br>
</font></div><div><font face="verdana,sans-serif">I got the following Errors. <br clear="all"></font><br clear="all"><font face="verdana, sans-serif"><span style="font-family:arial"><font face="verdana, sans-serif"><div>
<div>
make phpmod</div><div>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</div>
<div>make[1]: Entering directory `/usr/src/freeswitch.git/libs/esl/php'</div><div>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.</div>
<div>/usr/bin/ld: cannot find -ledit</div><div>collect2: ld returned 1 exit status</div><div>make[1]: *** [ESL.so] Error 1</div><div>make[1]: Leaving directory `/usr/src/freeswitch.git/libs/esl/php'</div><div>make: *** [phpmod] Error 2</div>
</div><div><br></div><div><br></div><div>How to solve this issue.</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Lloyd</div></font></span></font></span></font>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>