Thread: Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002
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