Thread: no libpq.pc for Centos 6 or Centos 7

no libpq.pc for Centos 6 or Centos 7

From
Steve Clark
Date:
Hello List,

I can't seem to find  a pkgconfig file for postgresql on centos 6 or centos 7.

Centos packages installed
$ rpm -qa|grep postgresql
postgresql-server-9.2.24-1.el7_5.x86_64
postgresql-9.2.24-1.el7_5.x86_64
postgresql-devel-9.2.24-1.el7_5.x86_64
postgresql-libs-9.2.24-1.el7_5.x86_64

Centos 6 packages installed
postgresql-server-8.4.20-8.el6_9.x86_64
postgresql-devel-8.4.20-8.el6_9.x86_64
postgresql-8.4.20-8.el6_9.x86_64
postgresql-libs-8.4.20-8.el6_9.x86_64
postgresql-contrib-8.4.20-8.el6_9.x86_64


Any ideas?

Thanks,
Steve



Re: no libpq.pc for Centos 6 or Centos 7

From
Adrian Klaver
Date:
On 10/24/18 6:28 AM, Steve Clark wrote:
> Hello List,
> 
> I can't seem to find  a pkgconfig file for postgresql on centos 6 or centos 7.
> 
> Centos packages installed
> $ rpm -qa|grep postgresql
> postgresql-server-9.2.24-1.el7_5.x86_64
> postgresql-9.2.24-1.el7_5.x86_64
> postgresql-devel-9.2.24-1.el7_5.x86_64
> postgresql-libs-9.2.24-1.el7_5.x86_64
> 
> Centos 6 packages installed
> postgresql-server-8.4.20-8.el6_9.x86_64
> postgresql-devel-8.4.20-8.el6_9.x86_64
> postgresql-8.4.20-8.el6_9.x86_64
> postgresql-libs-8.4.20-8.el6_9.x86_64
> postgresql-contrib-8.4.20-8.el6_9.x86_64
> 
> 
> Any ideas?

 From this:

https://bugzilla.redhat.com/show_bug.cgi?id=977115

it appears that it did not show up until 9.3.

FYI 8.4 and 9.2 are EOL.

> 
> Thanks,
> Steve
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com


Re: no libpq.pc for Centos 6 or Centos 7

From
Steve Clark
Date:
On 10/24/2018 09:38 AM, Adrian Klaver wrote:
On 10/24/18 6:28 AM, Steve Clark wrote:
Hello List,

I can't seem to find  a pkgconfig file for postgresql on centos 6 or centos 7.

Centos packages installed
$ rpm -qa|grep postgresql
postgresql-server-9.2.24-1.el7_5.x86_64
postgresql-9.2.24-1.el7_5.x86_64
postgresql-devel-9.2.24-1.el7_5.x86_64
postgresql-libs-9.2.24-1.el7_5.x86_64

Centos 6 packages installed
postgresql-server-8.4.20-8.el6_9.x86_64
postgresql-devel-8.4.20-8.el6_9.x86_64
postgresql-8.4.20-8.el6_9.x86_64
postgresql-libs-8.4.20-8.el6_9.x86_64
postgresql-contrib-8.4.20-8.el6_9.x86_64


Any ideas?
From this:

https://bugzilla.redhat.com/show_bug.cgi?id=977115

it appears that it did not show up until 9.3.

FYI 8.4 and 9.2 are EOL.

Yes, but those are the versions that ship with CentOS.
Thanks,
Steve






--
Stephen Clark
NetWolves Managed Services, LLC.
Sr. Applications Architect 
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@netwolves.com
http://www.netwolves.com

Re: no libpq.pc for Centos 6 or Centos 7

From
Adrian Klaver
Date:
On 10/24/18 7:10 AM, Steve Clark wrote:
> On 10/24/2018 09:38 AM, Adrian Klaver wrote:
>> On 10/24/18 6:28 AM, Steve Clark wrote:
>>> Hello List,
>>>
>>> I can't seem to find  a pkgconfig file for postgresql on centos 6 or centos 7.
>>>
>>> Centos packages installed
>>> $ rpm -qa|grep postgresql
>>> postgresql-server-9.2.24-1.el7_5.x86_64
>>> postgresql-9.2.24-1.el7_5.x86_64
>>> postgresql-devel-9.2.24-1.el7_5.x86_64
>>> postgresql-libs-9.2.24-1.el7_5.x86_64
>>>
>>> Centos 6 packages installed
>>> postgresql-server-8.4.20-8.el6_9.x86_64
>>> postgresql-devel-8.4.20-8.el6_9.x86_64
>>> postgresql-8.4.20-8.el6_9.x86_64
>>> postgresql-libs-8.4.20-8.el6_9.x86_64
>>> postgresql-contrib-8.4.20-8.el6_9.x86_64
>>>
>>>
>>> Any ideas?
>>   From this:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=977115
>>
>> it appears that it did not show up until 9.3.
>>
>> FYI 8.4 and 9.2 are EOL.
>>
> Yes, but those are the versions that ship with CentOS.

Or you could use the community repos and get current versions:

https://www.postgresql.org/download/linux/redhat/

>>> Thanks,
>>> Steve
>>>
>>>
>>>
> 
> 
> -- 
> Stephen Clark
> *NetWolves Managed Services, LLC.*
> Sr. Applications Architect
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: steve.clark@netwolves.com
> http://www.netwolves.com


-- 
Adrian Klaver
adrian.klaver@aklaver.com