building cyrus 2.3.10 on x86_64

Andrew Morgan morgan at
Tue Nov 20 16:35:56 EST 2007

On Sun, 18 Nov 2007, Gabor Gombas wrote:

> On Fri, Nov 16, 2007 at 05:03:39PM -0800, Andrew Morgan wrote:
>> I was able to get it to compile cleanly by adding "-fPIC" to the CFLAGS
>> definition in each Makefile.  I'm not sure if this is the correct solution
>> though!
> Yes, that's needed on x86_64 (at least until Cyrus starts providing
> shared libraries for libcyrus & libimap).

Just to follow up, I found the easy way to do this was to run configure 
like so:

   CFLAGS="-g -O2 -fPIC" ./configure

Much easier than editing a bunch of auto-generated Makefiles!


More information about the Info-cyrus mailing list