Registered Member
|
Hello everyone
Today I have updated KDE to 4.6.2 on my Archlinux x86. When I start KMail (1.13.6) I get this message: Screenshot The first line in the message catches my attention:
So, I was reading here: http://userbase.kde.org/Akonadi_4.4/Tro ... erequisite. Considering that I have compiled Qt-4.7.2 by myself using an oficial PKGBUILD with a little changes (you can see it here), I have paid attention to this:
But if you see the PKGBUILD it has the flag:
I guess as that flag enabled the QtSQL driver on my system. Also, the same web page says:
So, I ran a command to see if that file exists on my system:
As you see the file is on my system and it is provided by the package qt. Furthermore, in the named web page, a little further down, of the text that I have cited, says:
As you see it says that the libqsqlmysql.so file must be copied to /usr/local/bin/sqldrivers/ (doesn't name a specific distribution) and if you look a little fhurter up, when I post the terminal output after running the pacman command, you will see that the named .so file, in my system, is on the route /usr/lib/qt/plugins/sqldrivers/. Maybe this is the problem. Plase help me, I have four email accounts and it is so tired to go account by account reading my emails. Becouse, also, and related to this latter thing, when kmail shows the error message I can't acces to the display area, there where you can read your emails. I just can acces to the main menu, here a screenshot: Screenshot Thanks in advance Greetings EDIT: are the [img] tag disabled?, I can't see the images by using that tag
Last edited by zuargo on Wed Apr 13, 2011 2:31 pm, edited 1 time in total.
|
Administrator
|
Try removing ~/.config/Trolltech.conf
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Bad luck, it does not work
I don't understand why Akonady cannot detect libqsqlmysql.so if it is on my system. Anyway, thank you by your reply |
KDE Developer
|
Try typing
akonadictl stop akonadictl start in terminal The sql driver issue reported can turn out not to be an sql driver issue at all. (for me, the error was a binary incompatible boost library version) It is a small chance, but it is worth a shot |
Registered Member
|
Already, before, I tried stop and restart akonadi using the GUI (not trough a terminal) but it did not work. I had the same error message as that one, in the first screenshot, in my first post here.
So, I did that you said, here the results:
It looks like a crash, maybe I should report all this at the KDE's bug tracker. What do you think? |
Administrator
|
Can you create a new user and see if Akonadi detects the QtSql MySQL plugin there?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
KDE Developer
|
Ok, this output confirmed that it can't find mysql plugin...
You can check whether libqsqlite.so is located in the same directory as the one for mysql. If that is the case, and it doesn't work for a new/clean user, then it is not the problem that it can not find the plugin, but it can't load it. Again, the cause for something like that can be in missing dependencies of the qmysql plugin, or wrong abi of those dependencies. |
Registered Member
|
I did it, I had the same result (or at least very similar). When I launched KMail it showed the same message of error. Also I ran akonadictl start:
I ran a command to check all files and folders installed by the package that provides mysql:
After I searched on my system by all files called libqsqlite.so:
As you see libqsqlite.so is not located in any folder provided by mysql package. Also I searched by libqsqlmysql.so on my sistem:
Same issue than libqsqlite.so, as you see libqsqlmysql.so is not located in any folder provided by mysql package. I think Akonadi can not find the libqsqlite.so and libqsqlmysql.so files |
KDE Developer
|
Since both mysql and sqlite plugins are there, in the same folders, it definitely can find the plugin but it can't load it for some reason.
We need someone who knows how to get the qtplugin related issues debug output. |
Registered Member
|
Well, here the solution:
I ran:
As you see libqsqlmysql.so needs libmysqlclient.so.16 and it is missing. On Archlinux libmysqlclient.so.16 is provided by the package libmysqlclient but, when I builded Qt, I had installed libmysqlclient-5.5.11, wich one provides libmysqlclient.so.18 not libmysqlclient.so.16. So, the solution was downgrade libmysqlclient-5.5.11 to libmysqlclient-5.5.9 (or any another version of this package that provides libmysqlclient.so.16). Or rebuild Qt with libmysqlclient-5.5.11 installed on the system (which provides libmysqlclient.so.18). I tried both solutions and both worked Thanks so much to Christophe Giboudeaux who helped me here https://bugs.kde.org/show_bug.cgi?id=270720 to find this solution to the problem. Also, thank you so much guys, ivan and bcooksley, by the help |
Registered Member
|
I solved the problem by reinstalling Akonadi
apt-get install akonadi* --reinstall |
Registered users: Bing [Bot], Evergrowing, Google [Bot]