hi
has somebody already tried to compile & install the new courier-authlib 0.52? (required by all new versions of courier imap/sqwebmail).
i have tried with only "./configure" but also with disabling all auth modules except authvchkpw.
i get the following error when i try to "make":
Compiling authvchkpw.c
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
Compiling authvchkpwlib.c
Compiling preauthvchkpw.c
preauthvchkpw.c: In function `auth_vchkpw_pre':
preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type
Linking libauthvchkpw.la
/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/home/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
make[2]: Leaving directory `/usr/local/src/courier-authlib-0.52'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/courier-authlib-0.52'
make: *** [all] Error 2
i have tried with "./configure LDFLAGS=-fPIC" but that gives the same problem? any idea what that could be? ... the machine is an AMD64 and is running debian pure64.
thanks for help
regards KoS -- Martin Kos +41-76-384-93-33 http://kos.li Say NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux