You are not logged in.
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
Maybe something here is helpful:
Offline