MySQL embedded and pthreads

Ian Monroe ian at monroe.nu
Tue Jul 29 15:27:05 CEST 2008


On Tue, Jul 29, 2008 at 3:13 AM, Martin Aumueller <aumuell at reserv.at> wrote:
> On Tuesday 29 July 2008, Edward Hades wrote:
> [...]
>> True, but it's build-only dependency. And if the two latter issues
>> (key length and exit) are bearable, I am not quite sure if non-fPIC
>> code can be used in shared libraries on every platform we target.
>
> E.g. on amd64 linux, code that is to be linked into shared objects (dynamic
> libraries, plugins, ...) has to be compiled with -fPIC. Otherwise, the linker
> won't do it.

Yea, thats why I don't quite get the -fPIC issue. Seems like its
required for AMD64 so mysqle must already have it, and doesn't matter
otherwise. (I could be very wrong though)

Ian


More information about the Amarok-devel mailing list