From: Heikki Linnakangas <hlinnaka@iki.fi>
To: intmail01@gmail.com
To: pgsql-odbc@postgresql.org
Subject: Re: Postgresql driver for linux ODBC expect a missing pg_config file
Date: Thu, 18 Jun 2015 09:37:33 -0400
Message-ID: <5582C99D.1010709@iki.fi> (raw)
In-Reply-To: <5582A02E.308@gmail.com>
References: <5582A02E.308@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 06/18/2015 06:40 AM, intmail01@gmail.com wrote:
> I just did command ./configure and error occurs because 'libpq' is
> expected. I search through the file systems and found where libpq.so.*
> and libpq.a are stored. After that I did a new command like this:
> ./configure --with-libpq=/opt/PostgreSQL/9.3/lib/
>
> An error occurs again. The output shows last two lines :
> configure: using /usr/local/include /usr/local/lib
> configure: error: specified pg_config not found
>
> Please tell me how to continue the compilation ?
> The file pg_config exists and is located in /opt/PostgreSQL/9.3/bin/
>
> Note that my postgresql binaries are downloaded directly from the
> official site, I did not compile it. Installation directory is
> /opt/PostgreSQL/9.3
Try:
./configure --with-libpq=/opt/PostgreSQL/9.3/
or
./configure --with-libpq=/opt/PostgreSQL/9.3/bin/pg_config
IIRC both of those should work.
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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-odbc@postgresql.org
Cc: hlinnaka@iki.fi, intmail01@gmail.com
Subject: Re: Postgresql driver for linux ODBC expect a missing pg_config file
In-Reply-To: <5582C99D.1010709@iki.fi>
References: <5582A02E.308@gmail.com> <5582C99D.1010709@iki.fi>
* 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