Обсуждение: [GENERAL] Can't build ODBC -- odbc_config not found
I just tried to build Postgres ODBC from source (psqlodbc-10.00.0000.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
On Thu, Oct 26, 2017 at 11:40 PM, Chris Albertson <albertson.chris@gmail.com> wrote: > I just tried to build Postgres ODBC from source (psqlodbc-10.00.0000.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
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.0000.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
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.0000.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