On Dec 28, 2005, at 8:35 AM, David wrote:
Thanks Tom! Also I notice that version 5.4.13 is available under the stable releases on SourceForge, and it says it includes the -fPIC option. However it doesn't solve my problem; and I have the latest mysql version (5.0.17 generic rpm) installed which is apparrently compiled with the -fPIC option
but it still errors with

"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"

when I do a gmake in courier-authlib-0.58

Patching vpopmail with this patch didn't solve my problem... but surely my
error is with courier-authlib? Thanks for your help,

I think that libauthmysql is a part of courier-imap, and it shouldn't be necessary for your system. Courier-IMAP only needs the authvchkpw module in order to do authentication. I'm not familiar enough with courier-imap to know how to tell it which modules to compile.

I have been researching some more and now I am a little confused about the vpopmail relationship... could you tell me where/how I need to apply this
patch? Will patching vpopmail really help my courier-authlib compile
problem?

The patch applies to vpopmail's Makefile.am. The make system should rebuild Makefile.in from the Makefile.am. After you rebuild and reinstall vpopmail, libvpopmail should be compiled with the -fPIC option.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com

Reply via email to