Summary: | Akonadi can't find or load MySql Qt plugin (libqsqlmysql.so) and crashes | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Gatoso <gatoso> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 1.5.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screenshot when KMail try to start Akonadi and it fails
Archlinux PKGBUILD bash script for building Qt Archlinux PKGBUILD bash script for building Akonadi |
Description
Gatoso
2011-04-11 23:49:45 UTC
Created attachment 58811 [details]
Archlinux PKGBUILD bash script for building Qt
Created attachment 58814 [details]
Archlinux PKGBUILD bash script for building Akonadi
Also, I attached the Archlinux PKGBUILD bash script for building Akonadi
anything missing if you run `ldd libqsqlmysql.so` ? does `echo $QT_PLUGIN_PATH` return something ? Is it the correct path ? Terminal ouputs: $ ldd /usr/lib/qt/plugins/sqldrivers/libqsqlmysql.so linux-gate.so.1 => (0xb77dc000) libmysqlclient.so.16 => not found libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0xb7767000) libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb74b1000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73c3000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb73a8000) libc.so.6 => /lib/libc.so.6 (0xb725d000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7244000) libz.so.1 => /usr/lib/libz.so.1 (0xb722f000) libdl.so.2 => /lib/libdl.so.2 (0xb722b000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7227000) librt.so.1 => /lib/librt.so.1 (0xb721d000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb714c000) libm.so.6 => /lib/libm.so.6 (0xb7126000) /lib/ld-linux.so.2 (0xb77dd000) libpcre.so.0 => /lib/libpcre.so.0 (0xb70e9000) libmysqlclient.so.16 missing. On Archlinux, I guess, it should be provided by the package libmysqlclient but this package not includes that library, instead provides libmysqlclient.so.18. So, it is a error of mysql, qt or archlinux? $ echo $QT_PLUGIN_PATH /home/zuargo/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/ How can I know whether is the correct path? (sorry, I am noob in all this) Thank you so much. > So, it is a error of mysql, qt or archlinux? > instead provides libmysqlclient.so.18 That means the libmysqlclient used to build Qt is not the same as the one currently installed on your system I have no idea how Arch or Chakra works, but that reveals an installation problem. Two solutions: - either rebuild the sql plugins with the libmysqlclient package you currently have - Install whatever provides libmysqlclient16 OK thank you so much I have downgraded libmysqlclient package from 5.5.11 (wich one provides libmysqlclient.so.18) to libmysqlclient 5.5.9 (wich one provides libmysqlclient.so.16) Problem solved thank you so much :) Thanks. Closing. (Don't forget to mark your forum post as resolved) |