On 02/23/10 14:36, Paul Stear wrote:
Hi all,
Yesterday I tried an update world but amarok was blocking the update of mysql.
Messages said to remove amarok, do the world update and then emerge amarok.
I now have a system that is running well except amarok keeps failing with the
error at the end of this message. Also listed is emerge info and attached build
log and environment.
I also have failures with openoffice, transcode and xine-lib
Thanks in advance for any help
Paul
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib64/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/lib64/mysql/libmysqld.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
try to create a mysql file in /etc/portage/env/dev-db dir (mkdir -p
/etc/portage/env/dev-db) with the following content :
CFLAGS="${CFLAGS} -DPIC -fPIC"
CXXFLAGS="${CXXFLAGS} -DPIC -fPIC"
You have to use these C(XX)FLAGS to create the embedded mysql server.
HTH
Cedric