> -----Original Message-----
> From: Bill Shupp [mailto:[EMAIL PROTECTED]
> Sent: Friday, 30 December 2005 5:31 AM
> To: [email protected]
> Subject: Re: [toaster] courier-authlib gmake problem with FC4 on x86_64
>
>
> 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.

Unfortunately I get the same result:

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

When I try that.

Thanks,

David

> Regards,
>
> Bill
>
> !DSPAM:43b43274139691476250465!
>
>


Reply via email to