[sr-dev] error_readline_pkg-config with latest Makefile

subhra giri subhraprakash79 at gmail.com
Thu Mar 19 16:54:14 CET 2020


Hi
readline.h is located at
/home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/readline.h
And libreadline*.so* are present at

/home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/shlib/libreadline.so.5.1
/home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/shlib/readline.so

Please let me know what i should add in Makefile
Thanks and Regards
Subhra Prakash Giri

On Thu, Mar 19, 2020 at 9:05 PM Ovidiu Sas <osas at voipembedded.com> wrote:

> That’s the wrong path because is the host’s path. You need to install
> readline for the target and provide that path to the Makefile.
>
> -ovidiu
>
> On Thu, Mar 19, 2020 at 11:05 subhra giri <subhraprakash79 at gmail.com>
> wrote:
>
>> 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
>>>
>>> _______________________________________________
>> Kamailio (SER) - Development Mailing List
>> sr-dev at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200319/c03796a8/attachment-0001.html>


More information about the sr-dev mailing list