From: Adrian Klaver <adrian.klaver@aklaver.com>
To: support-tiger <support@tigernassau.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg 10.1 missing libpq in postgresql-devel
Date: Sat, 27 Jan 2018 17:43:38 -0800
Message-ID: <f2a0d19c-2a3a-d8e2-d807-e5d29517582e@aklaver.com> (raw)
In-Reply-To: <4d772277-fcb2-6b8b-6a08-a9a173c92b9f@tigernassau.com>
References: <13846b72-32b4-6ce8-cd6d-ac8d27c2d985@tigernassau.com>
<95ac7076-930b-e7d4-9855-9db7aefaf7bb@aklaver.com>
<4d772277-fcb2-6b8b-6a08-a9a173c92b9f@tigernassau.com>
On 01/27/2018 04:34 PM, support-tiger wrote:
> sorry for delay but ran some tests on older version pg gem - still fails
With what error message?
What Ruby gem?
>
> it fails on building the config file with simply missing libpq-fe.h,
> cannot find libpq-fe.h
Well it is there:
rpm -qlp postgresql10-devel-10.1-1PGDG.f27.x86_64.rpm | grep libpq-fe.h
warning: postgresql10-devel-10.1-1PGDG.f27.x86_64.rpm: Header V4
DSA/SHA1 Signature, key ID 442df0f8: NOKEY
/usr/pgsql-10/include/libpq-fe.h
>
> I suspect it is a problem with using the pgdg repository and that
> postgresql get "10" added to them ie postgresql10-devel and maybe the
> gem code does not recognize that. Since vers 10 is not breaking it
> does not make sense (i guess fedora) to rename vers 10 with the "10" -
> maybe they just love the python 2 / 3 fiasco and want to extend it to
> postgresql.
Previous versions used version numbering also:
https://yum.postgresql.org/9.6/fedora/fedora-26-x86_64/
postgresql96-devel-9.6.6-1PGDG.f26.x86_64.rpm
My guess it that the config script for the gem is not taking into
account that Postgres changed from a three part versioning system X.Y.z
to a two part system X.y(where lower case is minor version) from 9.6.0
to 10.1.
>
>
>
>
> On 01/25/2018 03:59 PM, Adrian Klaver wrote:
>> On 01/25/2018 12:20 PM, support-tiger wrote:
>>> running postgresql 10.1 on Fedora 27. Cannot install ruby pg gem due
>>> to missing libpq-fe.h file. This is usually found in
>>> postgresql-devel but
>>
>> What was the error message returned when you tried to install originally?
>>
>>> it is not in fedora 27 postgresql10-devel. If install
>>> postgresql-devel (9.6) the gem installs without problem but afraid
>>> this will interfere with 10.1 How can we install the necessary
>>> libpq-fe.h ? thks
>>>
>>>
>>
>>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, support@tigernassau.com
Subject: Re: pg 10.1 missing libpq in postgresql-devel
In-Reply-To: <f2a0d19c-2a3a-d8e2-d807-e5d29517582e@aklaver.com>
References: <13846b72-32b4-6ce8-cd6d-ac8d27c2d985@tigernassau.com> <95ac7076-930b-e7d4-9855-9db7aefaf7bb@aklaver.com> <4d772277-fcb2-6b8b-6a08-a9a173c92b9f@tigernassau.com> <f2a0d19c-2a3a-d8e2-d807-e5d29517582e@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox