[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to use -lreadline option in gcc



Thanks and yes, I find it: libreadline5-dev.

But my system is 2.4.27-adeos , when I run 'apt-get install libreadline5-dev', it says that It can not find image 2.6.10. How can I install it onto my rtai-2.4.27 system?


From: Michael Marsh <michael.a.marsh@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: how to use -lreadline option in gcc
Date: Thu, 20 Oct 2005 10:34:03 -0400

On 10/20/05, weiyun lv <lvweiyun@hotmail.com> wrote:
> I download some source code which use -lreadline -ltermcap and which has the
> line
> #include <readline/readline.h>
>
> my compile tells me that it can not find this file, accordingly it doesn't
> know function readline().
>
> what package should i install to solve this?

libreadline5-dev should do it.  There's also a libreadline4-dev , and
I have no idea what the difference is between them.  You can find
these with "apt-cache search readline".

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com





Reply to: