[OpenAFS] cannot build pam_afs.so on x86_64

Andy Malato andym@oak.njit.edu
Fri, 15 Oct 2004 16:50:24 -0400 (EDT)


Hi,


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

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