Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002

From: Mischa Sandberg <mischa(dot)sandberg(at)telus(dot)net>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002
Date: 2004-08-22 05:15:16
Message-ID: EZVVc.43952$X12.11039@edtnps84
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Browse pgsql-odbc by date

  From Date Subject
Next Message Mischa Sandberg 2004-08-22 05:42:27 Re: Emergent: get table names from SageLine50 by ODBC
Previous Message Mischa Sandberg 2004-08-22 05:03:13 Re: Syntax to pass IN parameters through ODBC