X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:mime-version
	:content-type; q=dns; s=default; b=VKeKw1rMpjiLD57KdZLoga2ekMRbJ
	zBk01O9qcLqY4Lpq3SXySDWGttH2KqYX1vLn4YacSaEbkeTxRz6McBQxshO87EaG
	UQL1T6VPmOAmAuzHvR2H0G/z+OVpl2EfhSJAfn4qgBf9ts1hN0pNmPXPPrN3hhcU
	MmI3aXsRBRZT/U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:mime-version
	:content-type; s=default; bh=tOicyNXzbBEmjfnFr3PZtJSQ82g=; b=Tez
	dxNwYI+ZL6Bkh21EN5mgy9BY6VsLtn6fh8Qvj2wEFpQLuC4pomejQ6I6xyuGgVjd
	6nBVSudNuoPekp944oIBM83+LKq4v+Ei5vdoeQMjQp9uMlNbIqPkvJlxc64yS36i
	JiqdaNhN3g7L+d6OmRLmQtVBe1ChzMUFaHiYFsao=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2
X-HELO: smtp2-g21.free.fr
Date: Thu, 5 Sep 2013 10:02:45 +0200 (CEST)
From: =?ISO-8859-15?Q?S=E9bastien_Dailly?= <sebastien@chimrod.com>
To: cygwin@cygwin.com
Subject: iodbc always in error
Message-ID: <alpine.DEB.2.10.1309050947200.21412@goku.chimrod.com>
User-Agent: Alpine 2.10 (DEB 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811840-664249615-1378368165=:21412"

---1463811840-664249615-1378368165=:21412
Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15
Content-Transfer-Encoding: 8BIT

Hello,

I'm trying to make iodbc work with cygwin, but I'm always getting errors. 
I've installed « libiodbc2 », « iodbctest », « iodbcadm-gtk » and the 
sqlite driver « odbc-sqlite3 ».

When I wan to check the configuration, I've got the following session :

> $ iodbctest mysqlite
> iODBC Demonstration program
> This program shows an interactive SQL processor
> Driver Manager: 03.52.0812.0326
> 1: SQLDriverConnect = [iODBC][Driver Manager]Driver's SQLAllocEnv() failed 
> (0) SQLSTATE=IM004
> 1: ODBC_Connect = [iODBC][Driver Manager]Driver's SQLAllocEnv() failed (0) 
> SQLSTATE=IM004
> 
> Have a nice day.

The configuration file is here and works when I test it on Debian :

> [ODBC Data Sources]
> mysqlite = SQLite
> 
> [mysqlite]
> Driver      = /usr/lib/cygsqlite3odbc.dll
> Description = My sqlite test database
> Database    = /home/user/databases/mytest.db
> ; optional lock timeout in milliseconds
> Timeout     = 2000
> 
> [ODBC]
> Trace         = 1
> TraceAutoStop = 0
> TraceFile     = sql.log
> Debug         = 1
> DebugFile     = sql_debug.log

I've first suspected something wrong in the sqlite driver and recompiled
it from sources, but I still get the same error, so I now think there is
a problem in the iodbc library.

The iodbc log are here : http://pastebin.com/mzDLUC3x

Can you help me to understand what happen ?

Thanks !

(I'm not registered on the ml, please cc me in your answer.)

-- 
Sébastien

---1463811840-664249615-1378368165=:21412
Content-Type: text/plain; charset=us-ascii

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
---1463811840-664249615-1378368165=:21412--
