Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1efc0e-0004Xy-6m for pgsql-general@arkaria.postgresql.org; Sun, 28 Jan 2018 01:43:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efc0b-0006LP-TT for pgsql-general@arkaria.postgresql.org; Sun, 28 Jan 2018 01:43:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1efc0b-0006LG-7Q for pgsql-general@lists.postgresql.org; Sun, 28 Jan 2018 01:43:49 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1efc0T-0003HH-9w for pgsql-general@lists.postgresql.org; Sun, 28 Jan 2018 01:43:47 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B3A9720C9D; Sat, 27 Jan 2018 20:43:39 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Sat, 27 Jan 2018 20:43:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=qFVtbmlCoYjzFI2apB4OqOtNjUuUM Nk6/lenoiKWlvo=; b=gWXIfoBCXoGtyxOVtpN1cAsMpDdUXvcpsZBjkOZVkfolo etZq/d5we8ADqTNNCw0aCokaUdDEnmjn/3sY4GS4ZUzNBC7vXABsip+p4lgNwl9H akXTW5Lvef69xoyWrJxxiP3ZZbzMokrU6A/Mfpa4uko5LctJJCSdNzr9m3n1kkuR SId6zRjLHFc5Df/78qwxQXcd201Ywv9aqU+ZyXNq2qUVdQ8435znqF8yAKVSnJ67 iE+3rvMtCSGS2VQ5P+eG/Z0MaVilz3sXmwSI+utsddkY3ukyKs+zZdmFDLxN00Mr bsJ+zuVGwsFY+rsklQrEuy8Dm3dJ8hRUl8axtorJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qFVtbm lCoYjzFI2apB4OqOtNjUuUMNk6/lenoiKWlvo=; b=GnKwpJB5vZmkCbkJ7c77ZK drnga1iZd9DBN4lkJ8utXzISjiPiBg9Kzw96Fuxp9hn9ihbv/GeRksHsxB4X1Xov VaeBXxWawkCg5+O8YVjxObntTX73QpogxayzxWnkTNvBs8EtpYNyD51dkEqWmXAE UMKVuuMTU1lvygz6XSpC3LzjhD8je0GUMnTm2Get7FJFIptux6wPlF8+3kLJ41Xr zqwUAPV9O+288U41AywGHP1Q33O2KswBSJkQxvTm18PTSk/tqHd2l3C8euw7Amcg 8dxzYt0dpiLRe1nx3nqsxXnCHCx+avMKZdoGMYVSsR1mhWRo6mqbZpbrwf3qP0tw == X-ME-Sender: Received: from ranger.suse (unknown [67.40.177.89]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D8FF7E660; Sat, 27 Jan 2018 20:43:39 -0500 (EST) Subject: Re: pg 10.1 missing libpq in postgresql-devel To: support-tiger , pgsql-general@lists.postgresql.org References: <13846b72-32b4-6ce8-cd6d-ac8d27c2d985@tigernassau.com> <95ac7076-930b-e7d4-9855-9db7aefaf7bb@aklaver.com> <4d772277-fcb2-6b8b-6a08-a9a173c92b9f@tigernassau.com> From: Adrian Klaver Message-ID: Date: Sat, 27 Jan 2018 17:43:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <4d772277-fcb2-6b8b-6a08-a9a173c92b9f@tigernassau.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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