[Qt-interest] Installing Qt 4.7 - Problems Running qpatch

Josiah Bryan jbryan at productiveconcepts.com
Thu Sep 23 03:13:41 CEST 2010


Thiago Macieira wrote:
> On Wednesday 22. September 2010 21.36.38 Josiah Bryan wrote:
>   
>> Odd problem here - Qt 4.7 installer runs just fine, but qpatch gives an
>> error during installation. Running qpatch again from the command line
>> (just to get the error text) gives the same error I saw during install:
>>
>> # /opt/qtsdk-2010.05/bin/qpatch
>> /opt/qtsdk-2010.05/bin/qpatch: /usr/lib/libstdc++.so.6: version
>> `GLIBCXX_3.4.9' not found (required by /opt/qtsdk-2010.05/bin/qpatch)
>>
>> libstdc++ is newer than 3.4.9 though:
>>
>> # rpm -qa | grep libstdc++
>> compat-libstdc++-33-3.2.3-62
>> libstdc++-devel-4.1.2-33
>> libstdc++-4.1.2-33
>>     
>
> That 3.4.9 is not the g++ version number. It's a different interface number. I 
> don't know why it started with 3.4 (maybe because g++ was that at the time), 
> but it's evolving differently.
>
>   
>> Any ideas on how to get qpatch to run?
>>     
>
> Upgrade your g++ or recompile the program.
rpm -qa | grep gcc reports gcc-c++-4.1.2-33 ... what version should I be 
using? What version does qpatch expect or what was qpatch built with?

Speaking of qpatch, you recommended recompiling the program - i is the 
source qpatch for that in the Qt 4.7 distribution? (find ./ -name 
"*qpatch*" in the qtsdk-2010.05 reports just ./bin/qpatch, no sources or 
pro file matching that name.)

Once recompiled, what args are needed to run qpatch to effect the same 
outcome as if it was run during the installation?

Thanks for your help!

Regards,
Josiah Bryan





More information about the Qt-interest-old mailing list