Cannot mix incompatible Qt library (version 0x40702) with this library (version 0x40701) Aborted
I recently updated my KDE version to 4.6, a revolutionary update if I say so myself. Suddenly version 4 of KDE is awesome.
All was well with this update until I tried to run SpiderOak. It booted and then failed with no errors. Upon running it from command line to see the output, it returned the following error:
Cannot mix incompatible Qt library (version 0x40702) with this library (version 0x40701) Aborted
How depressing is this? As it turns out, SpiderOak versions 9810 and before are intended for use with Qt from an earlier version of KDE.
After some time of messing around with libraries and symbolic links, I found the solution.
When SpiderOak starts, it apparently does a library version check. If you check the Spideroak library directory (/usr/lib/SpiderOak), you will find that there are many libraries that presumably SpiderOak uses. At least, I thought that was the case. Now I think (though this may not be correct) that those libraries are there to perform the version check because if you overwrite them with more up-to-date libraries, everything works. With that, here’s how we do this.
Log in as root (or sudo bash) and type the following commands…
cp /usr/lib/libQtCore.so.4 /usr/lib/SpiderOak cp /usr/lib/libQtGui.so.4 /usr/lib/SpiderOak cp /usr/lib/libQtNetwork.so.4 /usr/lib/SpiderOak
This will overwrite the library files in the SpiderOak directory with symbolic links (the files we copied were already links to *.so.4.7.2) pointing to the most up-to-date versions of the libraries on your machine.
Hope this helps someone. I haven’t tested much to confirm that this doesn’t cause any problems, but I can confirm that SpiderOak is semi-running for me (no bugs yet).
Category:Linux
Category:KDE
Category:Qt