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