Configure Error Unixodbc Library Odbcinst Not Found
Regional lists Associations User groups Project lists pgadmin-hackers pgadmin-support pgsql-jdbc zabbix configure error unixodbc library not found pgsql-odbc pgsql-pkg-debian pgsql-pkg-yum psycopg Inactive lists IRC Local odbcinst command not found User Groups Featured Users International Sites Propaganda Resources Weekly News Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc From: onur gulsevgi
♦ Locked 6 messages Mike Landl Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ unixODBC library "odbcinst" not found when configuring psqlodbc-09.01.0100 Apologies if this has already been asked and solved.I am trying to build psqlodbc-09.01.0100.tar from source on Red Hat ES 6.3, gcc version 4.4.7-3. When I run "./configure -without-libpq" it fails with the following output:./configure --without-libpqchecking https://www.postgresql.org/message-id/CAOVLFwhKUqkD%3Du8WDEAsXiKrJ1_qiDDroKcYqvaGqcSz%2BXmFzQ@mail.gmail.com for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether to enable maintainer-specific portions of Makefiles... nochecking for style of include used by make... GNUchecking for gcc... gccchecking whether the C compiler http://postgresql.nabble.com/unixODBC-library-quot-odbcinst-quot-not-found-when-configuring-psqlodbc-09-01-0100-td5763505.html works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking dependency style of gcc... gcc3checking for gcc... (cached) gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether gcc accepts -g... (cached) yeschecking for gcc option to accept ISO C89... (cached) none neededchecking dependency style of gcc... (cached) gcc3checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking for ld used by gcc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking t
7 messages Prabakaran, Vaishnavi-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ http://postgresql.nabble.com/Configuration-error-in-psqlodbc-09-02-0100-Help-needed-td5776953.html ♦ Configuration error in psqlodbc-09.02.0100 . Help needed! Hi All,I am trying to install psqlodbc-09.02.0100 in linux server - "Linux benchmarker1 2.6.18-8.el5PAE #1 SMP Fri Jan https://www.darold.net/projects/ldap_pg/HOWTO/x37.html 26 14:28:43 EST 2007 i686 i686 i386 GNU/Linux" , from source and while running "./configure" , am getting below output and it fails with error message "configure: not found error: unixODBC library "odbcinst" not found"checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether to enable maintainer-specific portions of Makefiles... nochecking for style of include used by make... GNUchecking for gcc... gccchecking whether the configure error unixodbc C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking dependency style of gcc... gcc3checking for pg_config... nochecking for gcc... (cached) gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether gcc accepts -g... (cached) yeschecking for gcc option to accept ISO C89... (cached) none neededchecking dependency style of gcc... (cached) gcc3checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking how to print strings... printfchecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking for ld used by gcc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking the
I've tested and turn in production state.
I don't use it anymore but I still maintain support on this howto and my last installation was on SlackWare 13.0, OpenLDAP 2.4.21, PostgreSQL 8.4.3, unixODBC 3.2.0 and psqlodbc 08.04.0200 in April 2010.2.1. PostgreSQLPostgreSQL can be found at http://www.postgresql.org/.See the PostgreSQL HOWTO if you don't know about PostgreSQL installation. You don't need any special configuration option to have LDAP working on your database now that the PostgreSQL ODBC library is external to PostgreSQL distribution. See next chapters.