Postgresql driver for linux ODBC expect a missing pg_config file

From: "intmail01(at)gmail(dot)com" <intmail01(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Postgresql driver for linux ODBC expect a missing pg_config file
Date: 2015-06-18 10:40:46
Message-ID: 5582A02E.308@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

I want to use postgresql ODBC on linux and forced to compile a new odbc
driver for postgres.
The name of the driver is psqlodbc-09.03.0400.tar.gz

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

Thank you

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Heikki Linnakangas 2015-06-18 13:37:33 Re: Postgresql driver for linux ODBC expect a missing pg_config file
Previous Message Michael Paquier 2015-06-17 04:48:09 Re: next release