[OpenAFS] res-search in x86_64

Derrick J Brashear shadow@dementia.org
Thu, 18 Mar 2004 15:31:21 -0500 (EST)


Skip pam. Or link the shared versions of libafsrpc and libafsauthent, but
there are ramifications if you have a long-running program


On Thu, 18 Mar 2004, David Botsch wrote:

> Time to reply to myself...
>
> gotten around the below problem as far as compiling, it seems...
>
> but, pam doesn't quite compile with the error:
> /usr/bin/ld:
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libkauth.a(client.o):
> relocation R_X86_64_32 can not be used when making a shared object;
> recompile with -fPIC
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libkauth.a: could not read
> symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [pam_afs.so.1] Error 1
>
> from:
> + cc -shared -Xlinker -x -o pam_afs.so.1 afs_setcred.o afs_auth.o
> afs_util.o afs_account.o afs_session.o afs_password.o afs_pam_msg.o
> afs_message.o AFS_component_version_number.o
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libkauth.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libprot.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libubik.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libauth.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/librxkad.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libsys.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libdes.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/librx.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/liblwp.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libaudit.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libcmd.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/libcom_err.a
> /usr/src/redhat/BUILD/openafs-1.2.11/lib/util.a -lresolv
>
> Hrm...
>
> On 2004.03.18 12:21 David Botsch wrote:
> > Referencing:
> > https://lists.openafs.org/pipermail/openafs-info/2004-January/011920.html
> >
> > Was a solution found to the -- configure: error: Unable to find
> > res_search function
> >
> > problem in afs-krb5 (specifically, here, Fedora Core 1 on amd64 with
> > openafs-1.2.11)?
> >
> > thnx.
> >
> > ********************************
> > David William Botsch
> > Consultant/Advisor II
> > CCMR Computing Facility
> > dwb7@ccmr.cornell.edu
> > ********************************
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-info
>
> --
> ********************************
> David William Botsch
> Consultant/Advisor II
> CCMR Computing Facility
> dwb7@ccmr.cornell.edu
> ********************************
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>