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

From Dev Kumkar
Subject Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc
Date
Msg-id CALSLE1NpY5FD6tek9O7Y3m3LFxrsE2MxHMKWgx5aMGoRhTUotw@mail.gmail.com
Whole thread Raw
In response to configure: error: unixODBC library "odbcinst" not found while trying to compile odbc  (onur gulsevgi <ogulsevgi@gmail.com>)
Responses Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-odbc
On Fri, Jul 19, 2013 at 5:47 PM, onur gulsevgi <onurgulsevgi@gmail.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... 

pgsql-odbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] getting rid of SnapshotNow
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] getting rid of SnapshotNow