pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mischa Sandberg <mischa.sandberg@telus.net>
To: pgsql-odbc@postgresql.org
Subject: Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002
Date: Sun, 22 Aug 2004 05:15:16 GMT
Message-ID: <EZVVc.43952$X12.11039@edtnps84> (raw)
In-Reply-To: <3c209c5f.0404110252.3da19577@posting.google.com>
References: <3c209c5f.0404110252.3da19577@posting.google.com>

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



Message-ID: <EZVVc.43952$X12.11039@edtnps84>
Permalink:  ../EZVVc.43952$X12.11039@edtnps84/
Also on:    postgresql.org/message-id/EZVVc.43952$X12.11039@edtnps84

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: mischa.sandberg@telus.net
  Subject: Re: [iODBC] Driver could not be loaded, SQLSTATE=IM002
  In-Reply-To: <EZVVc.43952$X12.11039@edtnps84>
  References: <3c209c5f.0404110252.3da19577@posting.google.com> <EZVVc.43952$X12.11039@edtnps84>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox