From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | intmail01(at)gmail(dot)com, pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Postgresql driver for linux ODBC expect a missing pg_config file |
Date: | 2015-06-18 13:37:33 |
Message-ID: | 5582C99D.1010709@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
On 06/18/2015 06:40 AM, intmail01(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Travis Staley | 2015-06-22 19:15:04 | psqlodbc-setup.exe vs psqlodbc.msi |
Previous Message | intmail01@gmail.com | 2015-06-18 10:40:46 | Postgresql driver for linux ODBC expect a missing pg_config file |