LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Where is readline on Linux? (https://www.linuxquestions.org/questions/linux-software-2/where-is-readline-on-linux-619135/)

endfx 02-06-2008 12:38 PM

Where is readline on Linux?
 
I would like to write some software using readline in linux.
Does anybody know where the readline header file is?

I've used readline in netbsd before and the header file is in /usr/include/readline.

I'm using ubuntu (so I've installed the readline-common and libreadline4 packages), but I've looked in redhat as well. I can't find the header file.

Thanks.

bigrigdriver 02-06-2008 12:42 PM

In a console, try
Code:

locate releadline.h
In my Suse installation, it's located at /usr/include/guile-readline/readline.h.

endfx 02-06-2008 12:49 PM

That didn't seem to work.

I've also try "fine / -name readline*"

Any other thoughts?

reddazz 02-06-2008 12:59 PM

If you have libreadline4 installed and want the header files, you need to install libreadline4-dev.

endfx 02-06-2008 01:43 PM

That did it. Thanks reddazz


All times are GMT -5. The time now is 08:33 PM.