Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc

From: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>
To: onurgulsevgi(at)gmail(dot)com
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc
Date: 2013-07-19 12:31:48
Message-ID: CALSLE1NpY5FD6tek9O7Y3m3LFxrsE2MxHMKWgx5aMGoRhTUotw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Fri, Jul 19, 2013 at 5:47 PM, onur gulsevgi <onurgulsevgi(at)gmail(dot)com>wrote:

> Hello,
>
> Thank you for the reply. Right now the error has changed when I try the
> following with LDFLAGS=-ldl
>
> oracle->>./configure --prefix=/data11/ora_bosa/bosadb/odbc/driver
> --without-libpq *--with-unixodbc=/usr/local/unixODBC*
>
> checking for a BSD-compatible install... config/install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> configure: using /usr/local/unixODBC/include -L/usr/local/unixODBC/lib
> -lodbc
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in
> `/data11/ora_bosa/bosadb/odbc/psqlodbc-09.02.0100':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> Any ideas welcome.
>

Its the same error which you pasted at start of thread.

config.log should have some more log messages? is it looking for some
library?
Quite possible that some of the libraries are missing to configure psqlodbc?

Regards...

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Robert Haas 2013-07-19 12:55:47 Re: getting rid of SnapshotNow
Previous Message Tom Lane 2013-07-19 05:27:41 Re: [HACKERS] getting rid of SnapshotNow