Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59655 - when trying to emerge the package mysql-4.0.20.ebuild. It starts to complie then I get the dreaded recomplie with -fPIC
Summary: when trying to emerge the package mysql-4.0.20.ebuild. It starts to complie ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-06 19:27 UTC by Nick
Modified: 2004-08-07 05:19 UTC (History)
1 user (show)

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 Nick 2004-08-06 19:27:51 UTC
When I try to emerge mysql-4.0.20.ebuild.  I can get it to start emerging the package but it gets almost all the way complied and it dies

Reproducible: Always
Steps to Reproduce:
1. emerge mysql
2. watch emerge mysql try to complie
3. see relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC error




/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld:
.libs/libmysql.o: relocation R_X86_64_32 can not be used when making a shared
object; recompile with -fPIC
.libs/libmysql.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmysqlclient_r.la] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mysql-4.0.20/work/mysql-4.0.20/libmysql_r'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.20/work/mysql-4.0.20'
make: *** [all] Error 2
 
!!! ERROR: dev-db/mysql-4.0.20 failed.
!!! Function src_compile, Line 156, Exitcode 2
!!! compile problem
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-07 04:34:53 UTC
amd64: what's going on here?
Comment 2 Nick 2004-08-07 05:19:45 UTC
I have fixed this... I think it was a problem with my make.conf config file.  It seems to be installing now fine.  Sorry for the confusion