Hello,

you need ncurses dev library installed for kamcmd tool. On debian should be done with:

apt install libncurses-dev

Cheers,
Daniel

On 25.01.19 09:26, Prabhat Kumar wrote:
I am getting this error while installing kamailio

LD (gcc) [U kamcmd]             kamcmd
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
../../src//Makefile.rules:191: recipe for target 'kamcmd' failed
make[3]: *** [kamcmd] Error 1
ERROR: make --no-print-directory -C ../../../utils/kamcmd install-if-newer failed
../../Makefile.modules:145: recipe for target 'install-utils' failed
make[2]: *** [install-utils] Error 1
Makefile:511: recipe for target 'install-modules' failed
make[1]: *** [install-modules] Error 1
make[1]: Leaving directory '/usr/local/src/kamailio-5.1/kamailio/src'
Makefile:36: recipe for target 'install' failed
make: *** [install] Error 2

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com