Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#14250 - [libmysqlclient] fail on getting PIC static libs on x86_64
Attached to Project:
Arch Linux
Opened by Maik Beckmann (Salamander1978) - Wednesday, 15 April 2009, 09:19 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 18 April 2009, 18:21 GMT
Opened by Maik Beckmann (Salamander1978) - Wednesday, 15 April 2009, 09:19 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 18 April 2009, 18:21 GMT
|
DetailsDescription:
The PKGBUILD contains: {{{ #PIC ... export CFLAGS="-fPIC ${CFLAGS}" }}} which gives me the impression this package wants to solve the isse amarok2 two has by linking a static library into a shared one (which is a bad idea anyway, but not of arch's business). amarok2-devel form aur fails with {{{ [ 85%] /usr/bin/ld: /usr/lib/mysql/libmysqld.a(net_serv.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC }}} FAIL :) Additional info: * package version(s) libmysqlclient-5.1.33-1 Steps to reproduce: - run a x86_64 box and try to compile amarok2 |
This task depends upon
{{{
export CFLAGS="-fPIC ${CFLAGS}"
+ export CXXFLAGS="-fPIC ${CXXFLAGS}"
...
- --with-embedded-server --with-libwrap
+ --with-embedded-server --with-libwrap --with-pic
}}}
fixe it.
-- Maik