Re: [GENERAL] Can't build ODBC -- odbc_config not found

2017-10-27 Thread John R Pierce

On 10/27/2017 12:39 AM, Devrim Gündüz wrote:

On Thu, 2017-10-26 at 23:40 -0700, Chris Albertson wrote:

I just tried to build Postgres ODBC from source (psqlodbc-10.00..tar.gz)

I type "./configure"

Then get this message:
configure: error: odbc_config not found (required for unixODBC build)

You need to install unixODBC package (or equivalent in your distro) for this
command.



and on a RHEL style system, you probably also need unixODBC-devel  to 
compile the psqlodbc driver.



--
john r pierce, recycling bits in santa cruz



Re: [GENERAL] Can't build ODBC -- odbc_config not found

2017-10-27 Thread Devrim Gündüz

Hi,

On Thu, 2017-10-26 at 23:40 -0700, Chris Albertson wrote:
> I just tried to build Postgres ODBC from source (psqlodbc-10.00..tar.gz)
> 
> I type "./configure"
> 
> Then get this message:
> configure: error: odbc_config not found (required for unixODBC build)
> 
> So it must be looking for a file called "odic_config"?  It's not 100%
> clear what is needed.

You need to install unixODBC package (or equivalent in your distro) for this
command.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


signature.asc
Description: This is a digitally signed message part


Re: [GENERAL] Can't build ODBC -- odbc_config not found

2017-10-27 Thread Michael Paquier
On Thu, Oct 26, 2017 at 11:40 PM, Chris Albertson
 wrote:
> I just tried to build Postgres ODBC from source (psqlodbc-10.00..tar.gz)
>
> I type "./configure"
>
> Then get this message:
> configure: error: odbc_config not found (required for unixODBC build)
>
> So it must be looking for a file called "odic_config"?  It's not 100%
> clear what is needed.

Are you sure that you installed unixodbc? Normally an install of this
package, be it on Linux or macos should install this command as well.
You can enforce a path to it using ODBC_CONFIG when launching
./configure.
-- 
Michael


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[GENERAL] Can't build ODBC -- odbc_config not found

2017-10-27 Thread Chris Albertson
I just tried to build Postgres ODBC from source (psqlodbc-10.00..tar.gz)

I type "./configure"

Then get this message:
configure: error: odbc_config not found (required for unixODBC build)

So it must be looking for a file called "odic_config"?  It's not 100%
clear what is needed.


-- 

Chris Albertson
Redondo Beach, California


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general