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

compiling amarok

Tags: None
(comma "," separated)
ygardi
Registered Member
Posts
5
Karma
0

compiling amarok

Thu Sep 26, 2013 8:43 pm
I am tring to compile amarok 2.8 git . I have all dependencies of amarok by apt-get build-dep amarok .When i compile , i get this error each time.
Code: Select all
[ 67%] Built target amarok_automoc
Scanning dependencies of target amarok
[ 67%] Building CXX object src/CMakeFiles/amarok.dir/amarok_automoc.o
Linking CXX executable amarok
[ 67%] Built target amarok
[ 67%] Built target amarok_collection-daapcollection_automoc
[ 68%] Built target amarok_collection-daapcollection
[ 68%] Built target amarok_collection-audiocdcollection_automoc
[ 69%] Built target amarok_collection-audiocdcollection
[ 69%] Built target amarok_collection-ipodcollection_automoc
[ 70%] Built target amarok_collection-ipodcollection
[ 70%] Built target amarok_collection-mtpcollection_automoc
[ 71%] Built target amarok_collection-mtpcollection
[ 71%] Built target amarok_collection-umscollection_automoc
[ 72%] Built target amarok_collection-umscollection
[ 72%] Built target amarok-sqlcollection_automoc
[ 75%] Built target amarok-sqlcollection
[ 75%] Built target amarok_massstorage-device_automoc
Scanning dependencies of target amarok_massstorage-device
[ 75%] Building CXX object src/core-impl/collections/sqlcollection/device/massstorage/CMakeFiles/amarok_massstorage-device.dir/amarok_massstorage-device_automoc.o
Linking CXX shared module ../../../../../../lib/amarok_massstorage-device.so
[ 76%] Built target amarok_massstorage-device
[ 76%] Built target amarok_collection-mysqlecollection_automoc
Linking CXX shared module ../../../../../lib/amarok_collection-mysqlecollection.so
/usr/bin/ld: cannot find -lmysqld_pic
collect2: error: 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 am using Linux 3.8.0-26-generic #38-Ubuntu SMP i686 GNU/Linux . i don't no what to do so any idea will be helpful.Thanks
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: compiling amarok

Thu Sep 26, 2013 8:55 pm
Please check you have all necessary dependencies, as listed in this blog: http://blogs.fsfe.org/myriam/2009/09/co ... l-summary/

Once installed., you need to remove the CMakeCache.txt file in your build folder and run cmake again.

Please make sure you check everything line by line in this blog, as these instructions work. If it still doesn't, you missed a step.


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 ...
ygardi
Registered Member
Posts
5
Karma
0

Re: compiling amarok

Fri Sep 27, 2013 6:52 pm
i have read the blog and have all dependencies but still having the same error...
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: compiling amarok

Fri Sep 27, 2013 6:59 pm
Well, the instructions do work, and you really don't have read it thoroughly enough, especially this part in my blog *HINT*:


5.1.Various dependencies that might cause compile errors and have to be installed

...

libmysqld-dev
libmysqld-pic


And my previous remark about erasing CMakeCache.txt and running cmake again after that...


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 ...


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]