[OpenAFS-devel] YDL 5.0.2... it gets weirder

Derrick Brashear shadow@gmail.com
Tue, 16 Oct 2007 08:29:02 -0400


------=_Part_20151_11187961.1192537742514
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 10/16/07, Atro Tossavainen <atro.tossavainen+openafs@helsinki.fi> wrote:
>
> I've got AFS working, but not pam_afs:
>
> Oct 16 02:21:59 x sshd[3154]: PAM unable to
> dlopen(/lib/security/pam_afs.so)
> Oct 16 02:21:59 x sshd[3154]: PAM [error: /lib/security/pam_afs.so:
> R_PPC_REL24 relocation at 0x0faf99fc for symbol `strlen' out of range]
> Oct 16 02:21:59 x sshd[3154]: PAM adding faulty module:
> /lib/security/pam_afs.so
>
> and can't log in.  What might be causing this?


Offhand guess, we relocate static libraries into share objects and the PPC
shared linker doesn't like it.

You might try setting CCOBJ to include -fPIC in src/cf/osconf.m4 for
ppc_linux_26 and see if life gets better.

------=_Part_20151_11187961.1192537742514
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">Atro Tossavainen</b> &lt;<a href="mailto:atro.tossavainen+openafs@helsinki.fi">atro.tossavainen+openafs@helsinki.fi</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve got AFS working, but not pam_afs:<br><br>Oct 16 02:21:59 x sshd[3154]: PAM unable to dlopen(/lib/security/pam_afs.so)<br>Oct 16 02:21:59 x sshd[3154]: PAM [error: /lib/security/pam_afs.so: R_PPC_REL24 relocation at 0x0faf99fc for symbol `strlen&#39; out of range]
<br>Oct 16 02:21:59 x sshd[3154]: PAM adding faulty module: /lib/security/pam_afs.so<br><br>and can&#39;t log in.&nbsp;&nbsp;What might be causing this?</blockquote><div><br>Offhand guess, we relocate static libraries into share objects and the PPC shared linker doesn&#39;t like it.
<br><br>You might try setting CCOBJ to include -fPIC in src/cf/osconf.m4 for ppc_linux_26 and see if life gets better.<br><br></div><br></div><br>

------=_Part_20151_11187961.1192537742514--