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

Can't Compile Amarok 2.3.2

Tags: None
(comma "," separated)
Russss
Registered Member
Posts
2
Karma
0
OS

Can't Compile Amarok 2.3.2

Sat Oct 09, 2010 6:21 pm
I am trying to compile Amarok 2.3.2 and keep getting make install error:
Code: Select all
[ 63%] Built target amarok_collection-mysqlecollection_automoc
Linking CXX shared module ../../../../../lib/amarok_collection-mysqlecollection.so
/usr/bin/ld: /usr/lib/mysql/libmysqld.a(client.o): relocation R_X86_64_PC32 against symbol `not_error_sqlstate' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/amarok_collection-mysqlecollection.so] Error 1
make[1]: *** [src/core-impl/collections/sqlcollection/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Error 2
make: *** [all] Error 2


I don't know how to fix this (just switched to linux in august), so I was hoping for some advice. I tried installing libmysqld-pic from the repository but that didn't help.
I am using linux mint (kde 4.4.5)
Thank you
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Can't Compile Amarok 2.3.2

Sat Oct 09, 2010 6:33 pm
Since you use Linux Mint which is IIRC a derivative of Ubuntu, you can also use the ready made packages in the Kubuntu repositories: http://kubuntu.org/news/amarok-232-backports-PPA, no need to compile it.

You need to get the dependencies correctly, especially libmysqld-pic and libmysqld-dev. the command
Code: Select all
 sudo apt-get build-dep amarok
should bring in all the necessary dependencies.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
Russss
Registered Member
Posts
2
Karma
0
OS

Re: Can't Compile Amarok 2.3.2

Sat Oct 09, 2010 7:42 pm
thank you, I got it running :)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]