By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 792

Summary: Link Qt3 against unixODBC instead of obsolete iODBC
Product: TDE Reporter: L0ner <sh4dou>
Component: qt3Assignee: L0ner <sh4dou>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, darrella, kb9vqf
Priority: P5    
Version: 3.5.13 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Patch for missing -liodbc ld error

Description L0ner 2012-01-13 06:23:33 CST
qt3 fails to compile it's sql-odbc module.
linker reports this error:
/usr/bin/ld: cannot find -liodbc
Comment 1 L0ner 2012-01-13 06:24:58 CST
Created attachment 273 [details]
Patch for missing -liodbc ld error
Comment 2 Timothy Pearson 2012-01-29 21:06:18 CST
iODBC is not ODBC

http://en.wikipedia.org/wiki/IODBC

This patch would remove libiodbc support and replace it with straight libodbc support.

Does your distribution not provide an iodbc package?
Comment 3 L0ner 2012-01-30 04:30:34 CST
My distribution does provide package for iODBC, but I was compiling against unixODBC, like it was did in the past by previous package maintainers (both official arch packager and by kdemod3 project).

Besides I looked at BLFS book, and theres notihng there about iODBC, rather they specify unixODBS as a dependency (http://www.linuxfromscratch.org/blfs/view/svn/x/qt.html).

unixODBC (http://www.unixodbc.org/) is a fork of iODBC and form what I see form wikipedia and it's website, it's latest release was on 28.Nov.2011, while iODBC latest release was 2009-09-10. Since the uninxODBC seems to get more love and developer support, I'd advice to compile against it, and not against iODBC.

But compiling it aginst unixODBC requires this small linker fix. If the iODBC wou
Comment 4 L0ner 2012-01-30 04:33:15 CST
My distribution does provide package for iODBC, but I was compiling against unixODBC, like it was did in the past by previous package maintainers (both official arch packager and by kdemod3 project).

Besides I looked at BLFS book, and theres notihng there about iODBC, rather they specify unixODBS as a dependency (http://www.linuxfromscratch.org/blfs/view/svn/x/qt.html).

unixODBC (http://www.unixodbc.org/) (http://en.wikipedia.org/wiki/UnixODBC) is a fork of iODBC and form what I see form wikipedia and it's website, it's latest release was on 28.Nov.2011, while iODBC latest release was 2009-09-10. Since the uninxODBC seems to get more love and developer support, I'd advice to compile against it, and not against iODBC.

But compiling it aginst unixODBC requires this small linker fix. If the iODBC is preferred as a dependency for Qt3/TQt3 it should be specified somewhere in the Trinity docs/wiki.
Comment 5 Timothy Pearson 2012-01-30 11:42:39 CST
If there is a good reason to switch then we will switch.  It would have helped if the bug report title was more descriptive, such as "Link Qt3 against unixODBC instead of obsolete iODBC".
Comment 6 L0ner 2012-01-30 11:45:11 CST
I'll keep that in mind next time ;). Besides I didn't know unless you wrote, that there was something like iODBC and originally we would build against it.
Comment 7 Timothy Pearson 2012-06-13 15:30:03 CDT
Committed to GIT in hash e20b434.

I assume that Mac system still use libiodbc?  Your patch left one instance of -liodbc intact.  If this should be corrected please reopen this bug report.