This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Mysql option not showing

Tags: None
(comma "," separated)
mortenoc
Registered Member
Posts
3
Karma
0

Mysql option not showing

Fri Jul 27, 2007 12:50 am
Hi

I'm running Mandriva 2007.1 and after removing mysql by the means of the mandriva rpm-manager and reinstalling Mysql 5.0.45 via a tar ball, Amarok disappeared from my menu. I reinstalled it (v. 1.4.6) via the rpm-manager, but in the new installation, the database option in settings - collection had disappeared.
I have tried to install and reinstall amarok in various version, but the database option is still not showing.
I also tried to install it by the means of the source-package, but got stuck whit some dependencies problems (the installation claming that I needed to install some components, which the rpm manager showed I allready had).
I have a lot of mp3s and Amarok is really slow and sucks up a lot of resources whitout running the database in mysql, and makes it pretty impossible to use Amarok.
Any suggestions?

Regards
Mortenoc
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re: Mysql option not showing

Fri Jul 27, 2007 1:10 am
You need to be sure that your Amarok RPM has mysql support. Thats all there is to it really. If you start compiling some of your system by hand, then you end up having to compile everything, so I would suggest not doing it if you don't use Gentoo.

The dependency problem you had is probably because you lack the -dev packages of the various libraries Amarok needs.


Amarok Developer
mortenoc
Registered Member
Posts
3
Karma
0

Re: Mysql option not showing

Fri Jul 27, 2007 4:33 am
I wasn't able to find any rpms with mysql support, so I decided to compile amarok by hand.

I ran ./configure --enable-mysql --prefix=`kde-config --prefix`
The message showed, that I needed Ruby and Xine packages. Since these packages was already installed I added the dev-packages of the two with the rpm-manager (Thanks Ian) and ran ./configure --enable-mysql --prefix=`kde-config --prefix` again. This time there where no error messages, so I ran make and make install.
But when I now start amarok, the splash screen appears but then the process dies.
When I try to start amarok in a console the following message appears:

/usr/lib/libamarok.so.0: symbol __dynamic_cast, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference

Both /usr/lib/libamarok.so.0 and libmysqlclient.so.15 (which lies in the mysql library) are binaries.

What does that mean and - more important - can it be fixed?
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re: Mysql option not showing

Fri Jul 27, 2007 2:10 pm
Perhaps you still have some parts of the old MySql still installed?


Amarok Developer
mortenoc
Registered Member
Posts
3
Karma
0

Re: Mysql option not showing

Fri Jul 27, 2007 8:52 pm
Ian Monroe wrote:Perhaps you still have some parts of the old MySql still installed?


I don't think so, but anyway I gave up and found some rpms with mysql support at http://kevin.deldycke.free.fr/repository/mandriva/2007.1/i586/, which I installed after deleting the libraries of the previous installation. Initially Amarok wouldn't connect to the mysql database, but after changing the hostname from 'localhost' to '127.0.0.1' in the amarok settings, everything worked fine.

Regards
Mortenoc


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]