[sr-dev] error_readline_pkg-config with latest Makefile

subhra giri subhraprakash79 at gmail.com
Thu Mar 19 16:03:39 CET 2020


Hi Daniel
readline.h is located at
/usr/include/readline/readline.h

And libreadline*.so* are present at

/lib/x86_64-linux-gnu/libreadline.so.7
/lib/x86_64-linux-gnu/libreadline.so.7.0
/usr/lib/x86_64-linux-gnu/libreadline.so

Thanks and Regards
Subhra Prakash Giri

On Thu, Mar 19, 2020 at 7:43 PM Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> Hello,
>
> it seems that libreadline-dev is not installing any pkg-config file, so
> its path is not detected.
>
> Can you locate where readline.h and libreadline*.so* files are installed
> on your system? We can add the paths to the makefile of the kamcmd.
>
> Cheers,
> Daniel
> On 19.03.20 04:15, subhra giri wrote:
>
> Dear Daniel
> I applied the latest Makefile that you have shared.
> Still i am getting following error.
> ----------------------------------
> install -m 755  ss7ops.so  /usr/local/lib64/kamailio/modules
> LD
> (/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/mips64-octeon-linux-gnu-gcc)
> [U kamcmd] kamcmd
> /home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/../lib/gcc/mips64-octeon-linux-gnu/4.7.0/../../../../mips64-octeon-linux-gnu/bin/ld:
> cannot find -lreadline
> /home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/../lib/gcc/mips64-octeon-linux-gnu/4.7.0/../../../../mips64-octeon-linux-gnu/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:138: 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 '/home/subhra/Downloads/kamailio-5.3.3/src'
> Makefile:43: recipe for target 'install' failed
> make: *** [install] Error 2
> -------------------------------------------------
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200319/0e67fe49/attachment-0001.html>


More information about the sr-dev mailing list