LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2005, 03:31 PM   #1
jockster666
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
Postgresql 7.4.2 with Readline on Debian 3.0


Hi Folks

Got a problem installing Postgresql 7.4.2 from source with readline support on my debian machine.

When running ./configure the following error appears:

configure: error: readline library not found
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.

I've installed readline (well tried too) and it has put
libreadline.a
libreadline.so -> libreadline.so.5
libreadline.so.5 -> libreadline.so.5.0
libreadline.so.5.0

in the /usr/local/lib directory and has put
chardefs.h
history.h
keymaps.h
readline.h
rlconf.h
rlstdc.h
rltypedefs.h
tilde.h
in /usr/local/include/readline directory

Does anyone have some ideas? I know it isnt an essential part of postgresql but it makes my life a lot easier being able to press up to scroll through previous commands.

Thanks
 
Old 03-07-2005, 04:17 PM   #2
jockster666
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
ahha!!! found the answer

apt-get install libreadline-dev

and then robert's your dads brother!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postgresql and PHP4 not working on Debian tomj88 Linux - Software 4 10-12-2005 08:43 PM
readline compile feetyouwell Programming 1 10-06-2004 06:01 PM
PostgreSQL 7.4 can't find readline durring ./configure docbrazen Linux - Software 2 01-09-2004 08:53 AM
readline problem when compiling dark_forests Linux - Software 0 10-12-2003 04:13 PM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration