You are not logged in.

#1 2009-04-03 18:48:36

CoolGenie
Member
Registered: 2008-04-06
Posts: 56

problems when building amarok2-svn

Hello,
I get build errors when compiling against MySQL libraries:

[ 82%] Building CXX object src/context/applets/mediadevices/CMakeFiles/amarok_context_applet_mediadevices.dir/amarok_context_applet_mediadevices_automoc.o                
/usr/bin/ld: /usr/lib/mysql/libmysqld.a(client.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/libamarok_collection-sqlcollection.so] Error 1                                                                                                          
make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all] Error 2                                                                    
make[1]: *** Waiting for unfinished jobs....

I've installed mysqle in /opt/mysqle dir, then I've changed the PKGBUILD directories to /opt/mysqle/include/mysql and /opt/mysqle/lib/mysql but still cmake compiles against /usr/lib/mysql/libmysqld.a and so on... Does anyone know how to fix this?
Regards,
Przemek

Offline

#2 2009-04-03 18:53:05

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: problems when building amarok2-svn

Offline

Board footer

Powered by FluxBB