Skip site navigation (1) Skip section navigation (2)

Re: compiling odbc

From: Brent Austin <brent1a(at)yahoo(dot)com>
To: Jeremy Faith <jfaith(at)cemsys(dot)com>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: compiling odbc
Date: 2008-09-19 18:25:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
I got export PATH=$PATH:/usr/local/pgsql to work

but now I get:
"configure: error: unixODBC library "odbcinst" not found"

I found that "odbcinst" is in my /opt/local/bin

How do I tell configure that pgsql is in /usr/local/pgsql and ALSO tell it that obcinst is in /opt/local/bin ???

----- Original Message ----
From: Jeremy Faith <jfaith(at)cemsys(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Sent: Friday, September 19, 2008 6:35:23 AM
Subject: Re: [ODBC] compiling odbc


Brent Austin wrote:
> My pg_config file is in:  /usr/local/pgsql/bin  so how do I 
> tell terminal to see that it's there instead of where it thinks it is?
> would this fix it:
> export PATH=$PATH:/usr/local/psql

Could this be as simple as the 'g' being missing from the pgsql directory in the PATH?
  export PATH=$PATH:/usr/local/psql
should be
  export PATH=$PATH:/usr/local/pgsql
  export PG_CONFIG=/usr/local/psql/bin/pg_config
should be
  export PG_CONFIG=/usr/local/pgsql/bin/pg_config

Jeremy Faith

Albe Laurenz wrote:
>> So far this is what I get when I try that command-
>> client-66-1xx-17-xx4:~ brent1a$ export PATH=$PATH:/usr/local/psql/bin
>> client-66-1xx-17-xx4:~ brent1a$ cd /psqlodbc-08.03.0200 
>> client-66-1xx-17-xx4:psqlodbc-08.03.0200 brent1a$ sudo ./configure
> [...]
>> configure: error: pg_config not found (set PG_CONFIG environment variable)
> Yeah, sure.
> You should omit the "sudo", it's wrong.
> But maybe it's best to follow the instructions you get and
> export PG_CONFIG=/usr/local/psql/bin/pg_config
> Yours,
> Laurenz Albe


pgsql-odbc by date

Next:From: Tom LaneDate: 2008-09-19 20:11:36
Subject: Re: compiling odbc
Previous:From: Jeremy FaithDate: 2008-09-19 11:35:23
Subject: Re: compiling odbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group