Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250591 - Amarok 2.0 fails with missing -fPIC for sqlcollection while linking to libmysqld
Summary: Amarok 2.0 fails with missing -fPIC for sqlcollection while linking to libmysqld
Status: RESOLVED DUPLICATE of bug 238487
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 07:56 UTC by Joerg Plate
Modified: 2008-12-11 12:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Plate 2008-12-11 07:56:36 UTC
Linking CXX shared module ../../../lib/libamarok_collection-sqlcollection.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../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
make[2]: *** [lib/libamarok_collection-sqlcollection.so] Error 1
make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all] Error 2
make: *** [all] Error 2
 * 
 * ERROR: media-sound/amarok-2.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3120:  Called kde4-base_src_compile
 *             environment, line 2372:  Called kde4-base_src_make
 *             environment, line 2407:  Called cmake-utils_src_make
 *             environment, line  876:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!


Reproducible: Always
Comment 1 Jürgen Geuter 2008-12-11 12:10:09 UTC
I can confirm this, I have the same error.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2008-12-11 12:26:44 UTC
Well if you would look correctly on the ebuild, this is the reason why i added only ~x86 because there it will be working. We already know about this issue.

Closing as duplicate

*** This bug has been marked as a duplicate of bug 238487 ***