6 messages in net.sourceforge.lists.courier-users[courier-users] courier-authlib fails...
FromSent OnAttachments
David BranfordDec 29, 2005 6:38 am 
Sam VarshavchikDec 29, 2005 3:39 pm 
DavidDec 29, 2005 9:14 pm 
Sam VarshavchikDec 30, 2005 3:54 am 
DavidJan 1, 2006 9:47 pm 
xerxesOct 26, 2006 1:39 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] courier-authlib fails to compile on Fedora Core 4 / x86_64Actions...
From:David Branford (dav@davidbranford.net)
Date:Dec 29, 2005 6:38:41 am
List:net.sourceforge.lists.courier-users

Hi all,

I am unable to compile courier-authlib 0.58 under fc4 on x86_64 (amd64). I receive the messages:

Linking libauthmysql.la /usr/bin/ld: /usr/lib/libmysqlclient.a(libmysql.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/libmysqlclient.a: could not read symbols: Bad value collect2: ld returned 1 exit status gmake[2]: *** [libauthmysql.la] Error 1

I have the latest version of mysql (5.0.17-1) installed from generic rpm for x86_64, and in the release notes it says that mysql is compiled with the -fPIC parameter.

Has anybody else encountered this problem? I have tried everything I can think of, and some things I couldn't (thanks to the shupp toaster mailing list members :)) and I can't get past this error. It almost looks as though the mysql build itself is lacking compilation with the -fPIC parameter.

Thanks & regards,

David