Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002 - Mailing list pgsql-odbc

From Mischa Sandberg
Subject Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002
Date
Msg-id EZVVc.43952$X12.11039@edtnps84
Whole thread Raw
List 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

pgsql-odbc by date:

Previous
From: Mischa Sandberg
Date:
Subject: Re: Syntax to pass IN parameters through ODBC
Next
From: Mischa Sandberg
Date:
Subject: Re: Emergent: get table names from SageLine50 by ODBC