Bug 146507

Summary: unixODBC-2.2.11 : Text ODBC driver not working
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Francois Chenier <belgix>
Component: OtherAssignee: Michal Marek <mmarek>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Francois Chenier 2006-01-29 11:11:10 UTC
The Text ODBC driver is the following package is broken (can connect but unable to query any SQL command)

unixODBC-2.2.11-2.i386.rpm (for SuSE 10.0)

because "yac.h" file in the distributed tarball does not match bison 2.0's 
numbering of symbols. FC4's mates gives me the hint here ...

http://www.redhat.com/archives/fedora-announce-list/2005-September/msg00123.html

After a recompiling sources (& fixing some minors warnings with GCC4.0), all  works as it should. Please update RPM and/or fix your unixODBC tarball. Thanks.

Francois Chenier, eng
Australia
Comment 1 Francois Chenier 2006-01-30 13:49:57 UTC
After a further investigation, I'm not absolutely sure the problem is with bison because I have version 1.875 installed on my laptop. Presently to "fix" this problem I know I can either ...

1) Overwrite libodbctxt.so in /usr/lib/unixODBC directory with the one included in unixODBC-2.2.11-3.FC4.1.i386.rpm RPM file (see link above).

2) Or compile unixODBC package using Fedora sources (to avoid compromising stability of SuSE, it's what I've made).

Francois Chenier
Australia
Comment 2 Michal Marek 2006-01-31 16:42:10 UTC
Hi, thanks for the report. I've submitted a fix for the txt driver, which will 
appear in opensuse factory soon.