Received: from www.onlyinla.com (IDENT:root@[63.192.253.170]) by hub.org (8.9.3/8.9.3) with ESMTP id RAA14527 for ; Tue, 27 Jul 1999 17:56:25 -0400 (EDT) (envelope-from gumbytwo@mindless.com) Received: from mindless.com (ono-sendai.onlyinla.com [192.168.0.4]) by www.onlyinla.com (8.9.3/8.9.3) with ESMTP id OAA10853 for ; Tue, 27 Jul 1999 14:56:37 -0700 Message-ID: <379E2BF7.5048DABE@mindless.com> Date: Tue, 27 Jul 1999 15:00:23 -0700 From: "Justin M. Mahoney" X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Can't get any ODBC under linux-i386 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi. I've compiled PostgreSQL 6.5.1 onto my Redhat 6.0 box with iodbc 2.50-3. I have my ODBCINI set to /etc/odbc.ini I have a ~/.odbc.ini file which is a copy of odbc.ini. I can't get it to work locally or remote. Here's my odbc.ini: =================================== [ODBC Data Sources] OnlyInLATest = OnlyInLA.com test database [OnlyInLATest] Database = onlyinla Username = pguser Password = xxxx [Default] Servername = lethe Port = 5432 Driver = /usr/postgres/lib/libpsqlodbc.so =================================== And here's the output of odbctest in the samples/ directory of the libiodbc dist.: =================================== OpenLink ODBC Demonstration program This program shows an interactive SQL processor Enter ODBC connect string (? shows list): OnlyInLATest [iODBC][Driver Manager]Dialog failed, SQLSTATE=IM008 Have a nice day. =================================== The postgres odbc driver directory is included in my /etc/ld.so.conf file and linked in with ldconfig, as is the /usr/local/lib directory containing my iodbc driver. I always get the same error message. Am I missing some config. item? If anybody has a working ODBC setup with postgres, could they just please post what they are using (distribution names and versions)? I emailed a Mr. Daren Sefcik who was having the same problem on Solaris 2.6, but his fixes (linking in extra libs in Makefile.shlib) didn't work for me. Thanks so much. Justin gumbytwo@mindless.com