Well, google suggests you're not the first one with this issue. Raymond made a suggestion to someone else in this thread: http://lists.freeswitch.org/pipermail/freeswitch-users/2009-November/050006.... Perhaps it's a different library name. -MC On Thu, Aug 2, 2012 at 4:34 AM, Lloyd Aloysius <lloyd.aloysius@gmail.com>wrote:
Michael,
I already installed the libedit-dev . Same error
Thanks Lloyd
On Wed, Aug 1, 2012 at 12:18 PM, Michael Collins <msc@freeswitch.org>wrote:
I suspect this line is the key piece of information: /usr/bin/ld: cannot find -ledit
If I read that correctly you need to install libedit-dev. Give that a try and let us know.
-MC
On Tue, Jul 31, 2012 at 11:20 PM, Lloyd Aloysius < lloyd.aloysius@gmail.com> wrote:
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org