Version: 1.2.2 (using KDE KDE 3.4.0) Installed from: Unlisted Binary Package Compiler: gcc 3.4.3 OS: Linux Arch Linux currently ships a package of Amarok built with Mysql support. This is an unwanted dependency for most of Arch's users due to increased hard drive space and bandwidth needed and most users don't need more than SqlLite. We would like to know if you guys can make Amarok run if it was compiled with mysql support but didn't find it at runtime. Currently you get this error: amaroK: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp. amarokapp: error while loading shared libraries: libmysqlclient.so.14: cannot open shared object file: No such file or directory On a new install, amarok would just not show up the mysql option when choosing your music database if it doesn't find the libmysqlclient.so library, and lots of users would be happier. Cheers
In other words, you're asking for the database support to be moved to a plugin, loaded at runtime. That would also allow multiple backends possible.
Exactly. Not easy to do, but this will benefit the whole project. That's why i put it as a wishlist
There was some talk of doing this on amarok-devel
SUSE ships amarok without mysql support built in because of this issue -- they want to avoid the dependency on mysql. Their answer to my wish to include mysql support was: "We do not want to have mysql (or postgresql) dependencies in our default installation. A proper way to solve this would be to add a general QSql engine to amaroK, so the user can select the database via the Qt plugins." Maybe this is a good way to solve this problem.
Does Qt always have QSql? I read that the individual sql drivers are runtime plugins, I'm just wondering if qsql api itself is always included.
On SUSE system, there is a qt3 RPM, a qt3-devel RPM (including qsql headers), and for example a qt3-mysql RPM (including the mysql drivers for qsql). To me it looks like the qsql api is always included, and the different drivers are included in seperate RPMS. Probably this is not only true for SUSE system.
They are plugins in 2.0.