Configure Error Libreadline Header Readline.h Not Found
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn configure: error: systemd system unit directory is required more about Stack Overflow the company Business Learn more about hiring developers or libreadline-dev posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer configure: error: xslt-config not found. please reinstall the libxslt >= 1.1.0 distribution site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise
Configure Error Readline Library Not Found Postgresql
to the top How to solve configure: error: readline library not found? up vote 17 down vote favorite 4 I have an Ubuntu 10.04 LTS server with a minimal install that I want to compile postgres on. With the minimal install the server did not have gcc so I had to do an apt-get install gcc but now I keep getting this error from the postgres ./configure. configure: error: readline zlib library not found library not found I can't seem to find the name of the package that contains the readline library. So I have two questions. What is the name of the package that contains readline? Is there some way given the error message above for me to find the associated package from its standard name? apt compiling share|improve this question edited Dec 3 '13 at 15:30 jokerdino♦ 27k19100181 asked Dec 21 '11 at 4:25 ams 3091310 add a comment| 1 Answer 1 active oldest votes up vote 27 down vote accepted You probably need to install libreadline-dev. A quick way to search for packages in cases like this is to use a command like: apt-cache search libreadline This command will likely list multiple packages, but if you're interested in compiling things from source then the package ending in -dev probably contains the files the configure script is searching for. share|improve this answer answered Dec 21 '11 at 4:34 James Henstridge 23.7k56776 Thanks James, I went browsing through the on the web at packages.ubuntu.com/lucid but there were to many libraries that had libreadline-{someversion}. Thanks that fixed it for me. –ams Dec 21 '11 at 4:45 No problem. In almost all cases the development package will make
17:07 UTC From: tcallawa at redhat dot com Assigned: felipe Status: Closed Package: Compile Failure PHP Version: 5.2, 5.3, 6 OS: Linux (Fedora) Private report: No CVE-ID: View Add install libreadline-dev Comment Developer Edit [2009-11-17 21:49 UTC] tcallawa at redhat dot com Description: ------------
Configure Error Readline Library Not Found Centos
The PHP code assumes that even with libedit in use (instead of readline), that the header can be found
Undefined Reference To `readline'
in readline/readline.h. libedit installs its "readline.h" into editline/ (to avoid the obvious conflict with readline). Accordingly, configure claims that libedit is not properly installed, when it is. I've written a straightforward http://askubuntu.com/questions/89389/how-to-solve-configure-error-readline-library-not-found patch to fix this: http://spot.fedorapeople.org/php-5.3.0-libedit.patch It is also possible to use pkgconfig to ask libedit for its include flags (and cflags), which would return "-I/usr/include/editline", but as that was slightly more intrusive, I did not go down that road. In addition, on a system where readline-devel and libedit-devel are both installed, the existing code checking for /usr/include/readline-devel will cause a false positive when https://bugs.php.net/50209 checking for libedit, and will end up doing a compile with readline's headers and libedit's library. Reproduce code: --------------- ./configure --without-readline --with-libedit Expected result: ---------------- checking for libedit readline replacement... yes checking for readline in -ledit... yes Actual result: -------------- checking for libedit readline replacement... yes configure: error: Please reinstall libedit - I cannot find readline.h Patches Add a PatchPull Requests Add a Pull RequestHistoryAllCommentsChangesGit/SVN commitsRelated reports [2009-12-13 17:06 UTC] svn@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=292081 Log: - Fixed bug #50209 (Compiling with libedit cannot find readline.h) (patch by tcallawa at redhat dot com) [2009-12-13 17:07 UTC] felipe@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for the patch! [2011-07-04 12:12 UTC] breck7 at gmail dot com While compiling the new PHP 5.4 release I tried using: --with-readline, --with- libedit, and --with-libedit --without-readline and always got " I cannot find readline.h" In case anyone has trouble reinsta
(HY000): Can't connect to local https://www.varnish-cache.org/trac/ticket/1555 MySQL server through socket ‘/var/lib/mysql/mysql.sock' April 11, 2016 Force redirect to HTTPS April 11, 2016 not found Git Pull is not possible because you have unmerged files April 4, 2016 Recent CommentsArchives April 2016 February 2016 January 2016 December 2015 November 2015 October 2015 September 2015 August library not found 2015 July 2015 June 2015 May 2015 April 2015 March 2015 February 2015 December 2014 Categories commands errors notes quiz snippets Meta Log in Entries RSS Comments RSS WordPress.org PHP configure: Please reinstall readline - I cannot find readline.h July 14, 2015 adminphp On Centos: sudo yum install readline-devel On Ubuntu: sudo apt-get install libreadline-dev PHP configure: Please reinstall readline - I cannot find readline.h Post navigation ←PHP configure: error: freetype.h not foundPHP configure: error: jpeglib.h not found→ Proudly powered by WordPress | Theme: Minnow by WordPress.com.
error after fixing it. Reported by: Tin Owned by: slink Priority: normal Milestone: Component: build Version: 4.0.1 Severity: normal Keywords: readline.h not checked by configure script Cc: Description When trying to compile Varnish 4.0.1 on a Cubietruck I ran into the following issue; make complained about readline.h missing, so obviously the configure script didn't complain about that. As the libedit package provied readline.h that issue was easy enough to fix. When blunty retrying make, without make clean or anything, I ran in the error shown in the file error.txt. The correspondig config.log is attached as config.log.wrong. When doing a fresh rebuild with a clean autogen.sh, ./configure and make, compiling did work without an issue. The config.log belonging to that is attached as config.log.good. Cheers, Martin Boer Attachments error.txt (2.4 KB) - added by Tin 2014-07-24T13:53:55+02:00 ago. error generated by 'make' config.log.wrong (152.5 KB) - added by Tin 2014-07-24T13:54:28+02:00 ago. config.log belonging to error.txt config.log.good (134.3 KB) - added by Tin 2014-07-24T13:55:04+02:00 ago. config.log when compiling succeeded Change History Changed 2014-07-24T13:53:55+02:00 ago by Tin attachment error.txt added error generated by 'make' Changed 2014-07-24T13:54:28+02:00 ago by Tin attachment config.log.wrong added config.log belonging to error.txt Changed 2014-07-24T13:55:04+02:00 ago by Tin attachment config.log.good added config.log when compiling succeeded comment:1 Changed 2014-07-25T15:31:34+02:00 ago by Nils Goroll