Re: What generates pg_config.h? - Mailing list pgsql-general

From rob stone
Subject Re: What generates pg_config.h?
Date
Msg-id 1515185353.3035.23.camel@gmail.com
Whole thread Raw
In response to Re: What generates pg_config.h?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Hello,

On Fri, 2018-01-05 at 12:19 -0800, Adrian Klaver wrote:
> On 01/05/2018 11:57 AM, Travis Allison wrote:
> > Distro and version:  Ubuntu 16.04 LTS.
> > 
> > If memory serves, I installed 9.5 using synaptic and 9.6 using apt-
> > get, 
> > where I followed the instructions from this site: 
> > https://www.postgresql.org/download/linux/ubuntu/
> > 
> > I also have an anaconda installation of postgresql, but that is a 
> > version less than 9.6.
> > 
> > Here are the results for postgresql using dpkg-query -l
> 
> Well somehow a Postgres 10 version of pg_config.h got installed.
> Is there an instance of Postgres 10 running?
> 
> > 
> > ii  postgresql                             9.5+173                
> >  all 
> >                       object-relational SQL database (supported
> > version)
> > ii  postgresql-9.5                         9.5.3-
> > 0ubuntu0.16.04     
> > amd64                    object-relational SQL database, version
> > 9.5 server
> > ii  postgresql-9.6                         9.6.5-1.pgdg16.04+2     
> >   amd64                    object-relational SQL database, version
> > 9.6 
> > server
> > ii  postgresql-client-9.5                  9.5.3-
> > 0ubuntu0.16.04     
> > amd64                    front-end programs for PostgreSQL 9.5
> > ii  postgresql-client-9.6                  9.6.5-1.pgdg16.04+2     
> >   amd64                    front-end programs for PostgreSQL 9.6
> > ii  postgresql-client-common               173                    
> >  all 
> >                       manager for multiple PostgreSQL client
> > versions
> > ii  postgresql-common                      173                    
> >  all 
> >                       PostgreSQL database-cluster manager
> > ii  postgresql-contrib-9.5                 9.5.3-
> > 0ubuntu0.16.04     
> > amd64                    additional facilities for PostgreSQL
> > ii  postgresql-contrib-9.6                 9.6.5-1.pgdg16.04+2     
> >   amd64                    additional facilities for PostgreSQL
> > ii  postgresql-server-dev-9.5              9.5.3-
> > 0ubuntu0.16.04     
> > amd64                    development files for PostgreSQL 9.5 
> > server-side programming
> > ii  postgresql-server-dev-9.6              9.6.5-1.pgdg16.04+2     
> >   amd64                    development files for PostgreSQL 9.6 
> > server-side programming
> > 
> > 
> 
> 
> 


Shouldn't the OP check the libpq-dev libraries as well?

Not an expert. My two cents.
Rob


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: What generates pg_config.h?
Next
From: Travis Allison
Date:
Subject: Re: What generates pg_config.h?