FS#11591 - amarok2 from trunk and next beta will require mysql embedded
Attached to Project:
Arch Linux
Opened by mangus (mangus) - Friday, 26 September 2008, 21:21 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 18 April 2009, 21:22 GMT
Opened by mangus (mangus) - Friday, 26 September 2008, 21:21 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 18 April 2009, 21:22 GMT
|
Details
Description:
amarok2 from trunk and next beta will require mysql embedded Current extra package is compiled without options *--with-embedded-server It would be nice to consider adding this feature. |
This task depends upon
/usr/bin/ld: /usr/lib/mysql/libmysqld.a(my_thr_init.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object
This is on i686. Amarok seems to use now the mysqle database storage.
I didn't test on i686
This can be closed now , I think.
Thanks
export CFLAGS="${CFLAGS} -fPIC -DPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC -DPIC"
Or should that go in makepkg.conf?
What about putting these configs in the mysql x86_64 package to compile. Is this really needed ?
Thanks
Quoting some Gentoo docs: «On certain architectures (AMD64 amongst them), shared libraries must be "PIC-enabled".»
Or bad workaround in the sense that the mysql build system should enable it itself? The correct procedure seems to be to pass «--disable-shared --with-pic» to configure, according to http://bugs.mysql.com/bug.php?id=8796
Or am I misunderstanding something fundamental here? =)
However, I think there are some problems on both sides, mysql and amarok. See http://bugs.mysql.com/bug.php?id=39288. ATM Amarok seems to link to a static mysql file within a dynamic lib. It would be best if Amarok links dynamically to mysql; static builds are bad anyway.
PKGBUILD (0.8 KiB)
Regards
André
to the ./configure command and add
export CFLAGS="-fPIC ${CFLAGS}"
export CXXFLAGS="-fPIC ${CXXFLAGS}"
before the ./configure line for x86_64 mysql.
Without this does not work. Is this possible?
-c
It's not able to build the collection and it seems to be a mySQL problem.
Could any one check this?
Thank you in advance