[Qt-interest] building Qt 4.5.0 (LGPL) with DB2 and ODBC plugin support

Robert Hairgrove evorgriahr at hispeed.ch
Fri Apr 10 17:39:50 CEST 2009


Thiago Macieira wrote:
> Robert Hairgrove wrote:
>> While we are on the subject of DB2, I noticed it has a dependency on
>> libstdc++5.so (I am building this on Ubuntu 8.04 / Qt 4.5.0). There was
>> a corresponding warning about possible conflicts with libstdc++6.so
>> issued when I built the plugin.
>>
>> Does anyone know if this is a problem? Maybe I should just forget about
>> trying to use DB2 with LGPL'd Qt...
> 
> Yes, it is a problem.
> 
> You can't load both versions of libstdc++ into memory: they are 
> incompatible with each other and will cause crashes down the line.
> 
> Please recompile all your sources with gcc >= 3.4. If you have binaries 
> for which you don't have the sources, contact the vendor and request a 
> more recent version.
> 

Thank you, Thiago ... unfortunately, as you know, the IBM DB2 client 
libraries are not open source. ;)

Does this mean that LGPL'ed Qt cannot reliably use a DB2 plugin which 
was built with the DB2 Express version? And, do the commercial DB2 
libraries not have this dependency on libstdc++5.so any more?



More information about the Qt-interest-old mailing list