Gentoo Archives: gentoo-amd64

From: "Cédric Godin" <cedric.godin@××××××.be>
To: gentoo-amd64@l.g.o
Cc: Paul Stear <gentoo@××××××××××××.com>
Subject: Re: [gentoo-amd64] Amarok, openoffice, transcode & xine-lib emerge failures.
Date: Tue, 23 Feb 2010 17:02:54
Message-Id: 4B83FF19.2020104@skynet.be
In Reply to: [gentoo-amd64] Amarok, openoffice, transcode & xine-lib emerge failures. by Paul Stear
1 On 02/23/10 14:36, Paul Stear wrote:
2 > Hi all,
3 > Yesterday I tried an update world but amarok was blocking the update of mysql.
4 > Messages said to remove amarok, do the world update and then emerge amarok.
5 > I now have a system that is running well except amarok keeps failing with the
6 > error at the end of this message. Also listed is emerge info and attached build
7 > log and environment.
8 > I also have failures with openoffice, transcode and xine-lib
9 > Thanks in advance for any help
10 > Paul
11 >
12 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:
13 > /usr/lib64/mysql/libmysqld.a(client.o): relocation R_X86_64_32 against
14 > `mysql_server_last_error' can not be used when making a shared object;
15 > recompile with -fPIC
16 > /usr/lib64/mysql/libmysqld.a: could not read symbols: Bad value
17 > collect2: ld returned 1 exit status
18 >
19
20 try to create a mysql file in /etc/portage/env/dev-db dir (mkdir -p
21 /etc/portage/env/dev-db) with the following content :
22
23 CFLAGS="${CFLAGS} -DPIC -fPIC"
24 CXXFLAGS="${CXXFLAGS} -DPIC -fPIC"
25
26 You have to use these C(XX)FLAGS to create the embedded mysql server.
27
28 HTH
29
30 Cedric