Thread: [GENERAL] PGSQL 9.6.2 unable to find readline
Trying to compile pgsql 9.6.2 on Fedora 25 I get the following message: configure:9345: error: readline library not found If you have readline already installed, see config.log for details on the Use --without-readline to disable readline support. pgac_cv_check_readline=no libreadline does exist: [John@prod04 postgresql-9.6.2]$ rpm -qv readline readline-6.3-8.fc24.x86_64 Other relevant info: gcc 6.3.1 command line: ../configure --prefix=/usr/postgres-9.6.2 --with-openssl --with- libraries=/usr/lib64 libreadline is in /usr/lib64 ls -l /usr/lib64/libread* lrwxrwxrwx. 1 root root 18 Feb 4 2016 /usr/lib64/libreadline.so.6 -> libreadline.so.6.3 -rwxr-xr-x. 1 root root 296072 Feb 4 2016 /usr/lib64/libreadline.so.6.3 This is similar to other posts regarding pgsql 9.3 in the archive but has anyone found the cause yet? Thanks. John
Hi, On Tue, 2017-03-07 at 15:38 -0500, John Iliffe wrote: > Trying to compile pgsql 9.6.2 on Fedora 25 > > I get the following message: > > configure:9345: error: readline library not found Please install readline-devel. (BTW, https://yum.PostgreSQL.org has 9.6.2 and Fedora 25 RPMs already) Regards, -- Devrim Gündüz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Attachment
On Tuesday, March 7, 2017 3:35 PM, John Iliffe <john.iliffe@iliffe.ca> wrote:
>> Trying to compile pgsql 9.6.2 on Fedora 25
>
> I get the following message:
>
> configure:9345: error: readline library not found
> If you have readline already installed, see config.log for details on the
> Use --without-readline to disable readline support.
> pgac_cv_check_readline=no
>
> libreadline does exist:
>
> [John@prod04 postgresql-9.6.2]$ rpm -qv readline
> readline-6.3-8.fc24.x86_64
You probably need readline-devel-6.3-8.fc24.x86_64
>
> Thanks.
>
> John
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Perfect! Thank you. Same issue then occurred with zlib and I installed the dev pieces and it worked too. Might be a good idea if the documentation listed these somewhere as prereqs. In the past all the servers I have worked on had these installed already but this one is a bit basic. Regards, and again, thanks. John =============================================== On Tuesday 07 March 2017 16:12:22 Devrim Gündüz wrote: > Hi, > > On Tue, 2017-03-07 at 15:38 -0500, John Iliffe wrote: > > Trying to compile pgsql 9.6.2 on Fedora 25 > > > > I get the following message: > > > > configure:9345: error: readline library not found > > Please install readline-devel. > > (BTW, https://yum.PostgreSQL.org has 9.6.2 and Fedora 25 RPMs already) > > Regards,
On 03/07/2017 01:33 PM, John Iliffe wrote: > Perfect! Thank you. > > Same issue then occurred with zlib and I installed the dev pieces and it > worked too. > > Might be a good idea if the documentation listed these somewhere as > prereqs. In the past all the servers I have worked on had these installed https://www.postgresql.org/docs/9.6/static/install-requirements.html > already but this one is a bit basic. > > Regards, and again, thanks. > > John > =============================================== > On Tuesday 07 March 2017 16:12:22 Devrim Gündüz wrote: >> Hi, >> >> On Tue, 2017-03-07 at 15:38 -0500, John Iliffe wrote: >>> Trying to compile pgsql 9.6.2 on Fedora 25 >>> >>> I get the following message: >>> >>> configure:9345: error: readline library not found >> >> Please install readline-devel. >> >> (BTW, https://yum.PostgreSQL.org has 9.6.2 and Fedora 25 RPMs already) >> >> Regards, > > -- Adrian Klaver adrian.klaver@aklaver.com