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

MSQL error during 2.2.2 make

Tags: None
(comma "," separated)
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS

MSQL error during 2.2.2 make

Thu Dec 24, 2009 6:42 pm
Really excited to help out with beta testing.

I am currently troubleshooting the following error.

Anyone else see this?

Code: Select all
Linking CXX shared module ../../../lib/amarok_collection-mysqlecollection.so
/usr/bin/ld: /usr/lib/mysql/libmysqld.a(lib_sql.o): relocation R_X86_64_32 against `mysql_server_last_error' can not be used when making a shared object; recompile with -fPIC
/usr/lib/mysql/libmysqld.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/amarok_collection-mysqlecollection.so] Error 1
make[1]: *** [src/collection/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Error 2
make: *** [all] Error 2


I am wondering if I have too many mySQL libraries installed.
Code: Select all
locate libmysqlclient.so.16
/usr/lib/libmysqlclient.so.16
/usr/lib/libmysqlclient.so.16.0.0


Gonna get a tattoo for Xmas,
Dave
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: MSQL error during 2.2.2 make

Fri Dec 25, 2009 12:14 pm
What distro is this? Please don't forget to state KDE version you are talking about, not easy to remember this for every user *sigh*
Hint: put the KDE version in your signature and choose the distribution in the profile, that would help us a lot :)


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 ...
Shadeslayer
Registered Member
Posts
3
Karma
0
OS

Re: MSQL error during 2.2.2 make

Fri Dec 25, 2009 12:41 pm
Hi,i think the make error is pretty self explainatory,you need to recompile libmysqld with the -fPIC option or install libmysqld-pic if you use ubuntu
User avatar
devehf
Registered Member
Posts
27
Karma
0
OS

Re: MSQL error during 2.2.2 make

Sat Dec 26, 2009 5:29 am
state KDE version

KDE version = 4.X series.

install libmysqld-pic

Yes, I was afraid of that. See, the thing is, I am running Squeezeboxserver for my Logitech wireless audio appliance. Squeezeboxserver is fussy about using MySQL 5.0 and libmysqlclient15-dev. And thus, I do not think I can install libmysqld-pic and libmysqld-dev without removing Squeezeboxserver, which is out of the question.

I am also not able to run K3b because of this MySQL 5.0 situation, a crying shame.

I will suggest to Logitech that they consider upgrading their database technology to the latest version. Ahh, the innovator's dilemma: as database versions march on, do you upgrade your application to keep pace or risk loosing users with incompatible systems?


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]