X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 32B1F5E46DC for ; Sun, 22 Aug 2004 02:43:42 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48493-06 for ; Sun, 22 Aug 2004 05:43:36 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 7025C5E3F15 for ; Sun, 22 Aug 2004 02:43:34 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i7M5hUiI049836 for ; Sun, 22 Aug 2004 05:43:31 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i7M5FGin043982 for pgsql-odbc@postgresql.org; Sun, 22 Aug 2004 05:15:16 GMT From: Mischa Sandberg User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 X-Newsgroups: comp.databases.postgresql.interfaces.odbc Subject: Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002 References: <3c209c5f.0404110252.3da19577@posting.google.com> In-Reply-To: <3c209c5f.0404110252.3da19577@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 39 Message-ID: Date: Sun, 22 Aug 2004 05:15:16 GMT To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/41 X-Sequence-Number: 4350 Could you post your ODBC.INI file? That would be one of: - what $ODBCINI is set to - ~/.odbc.ini - what $SYS_ODBC_INI was set to - /etc/odbc.ini - ./odbc.ini What do you get when you enter '?' at the prompt? SlimClity wrote: > I'm trying to install OpenLDAP with PostGreSQL as backend database > using the following HOWTO: > http://www.samse.fr/GPL/ldap_pg/HOWTO/x67.html > > Only when I want to test the iODBC I get an error: > > --- > #/usr/local/bin/iodbctest > iODBC Demonstration program > This program shows an interactive SQL processor > Driver Manager: 03.51.0001.0908 > > Enter ODBC connect string (? shows list): DSN:PgSQL > [iODBC][Driver Manager]Data source name not found and no default > driver specified. Driver could not be loaded, SQLSTATE=IM002 > > Have a nice day. > --- > > Does somebody know what could be wrong? > > I'm running on FreeBSD 5.2.1-RELEASE #0 with the ports installed: > > postgresql-7.4.2 > postgresql-odbc-7.2.5_1 > libiodbc-3.51.1_3