[OpenAFS] cannot build pam_afs.so on x86_64

Derrick J Brashear shadow@dementia.org
Fri, 15 Oct 2004 16:57:21 -0400 (EDT)


On Fri, 15 Oct 2004, Andy Malato wrote:

> Hi,
>
>
> I am having some difficulty building the AFS pam module (pam_afs.so) on an
> x86_64 system running RHEL 3.0

in src/cf/osconf.m4, set CCOBJ to cc -fPIC

then rerun regen.sh, reconfigure, and rebuild.


> When I try building it, I get the following error:
>
> ...
> /usr/bin/ld: /ftp/openafs/openafs-1.3.71/lib/libkauth.a(user.o):
> relocation R_X86_64_32 can not be used when making a shared object;
> recompile with -fPIC
> ...
>
> I have recompiled with -fPIC but that did not seem to fix the problem.
> Has anyone successfully compiled the pam module for x86_64 ?
>
>
> I have tried both openafs-1.3.71 and openafs-1.2.11
>
>
> Any suggestions and/or known resolution to the above problem ?
>
>
> Thanks,
>
>
>        ---Andy
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>