David wrote:
Do you get that error when using --without-authmysql?
configuring courier-authlib-0.58 I do:
]# ./configure --with-redhat --without-authmysql
then I make with:
]# gmake
Which gives:
<snip>
Linking libauthvchkpw.la
/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation
R_X86_64_32S against `a local symbol' 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
gmake[2]: *** [libauthvchkpw.la] Error 1
gmake[2]: Leaving directory `/var/src/toaster/courier-authlib-0.58'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/src/toaster/courier-authlib-0.58'
gmake: *** [all] Error 2
I have vpopmail-5.4.10 compiled with the
libvpopmail_a_CFLAGS = -fPIC
patch applied (manually) to Makefile.am
I just noticed, however, that it is possible that doing a ./configure for
vpopmail removes this line from Makefile.am, and that a subsequent make is
unaffected?
I don't know, will keep experimenting.
Before compiling courier-authlib, try:
export CFLAGS=" -fPIC"
to set the environment.
Regards,
Bill