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

Re: how to use -lreadline option in gcc



[20/10/2005 -- 16:34u] Michael Marsh:

> > I download some source code which use -lreadline -ltermcap and which
> > has the line #include <readline/readline.h>

<...>

> > 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".

Or in a similar case where apt-cache search can't help you out, there's
always apt-file, with which you can search through files installed by
packages, rather than only the package names.

Cheers,
Tom

-- 
"Es bückt sich der Mann, um durch das Tor in das Innere zu sehen."
 ---                                (Franz Kafka, Vor dem Gesetz)
np: Gridlock - Frantic



Reply to: