[OpenAFS] Re: Trouble with libnss-afs
Tue, 7 Jul 2009 08:42:02 -0400
On Tue, Jul 7, 2009 at 2:13 AM, Gunnar
> On Monday 06 July 2009 19:28:55 Adam Megacz wrote:
>> mozafar roshany <firstname.lastname@example.org> writes:
>> > I working on OpenAFS through this document on Debian Lenny:
>> > ...
>> > I should mention that I've installed the libnss-afs_1.08_i386.deb pack=
>> > or its 1.07 version.
>> Hi, Mozafar. =A0Could you please try upgrading to libnss-afs 1.08? =A0I
>> recently fixed a linking problem that only causes trouble for users of
>> newer libc's:
>> =A0 http://git.hcoop.net/?p=3Dmegacz/libnss-afs.git;a=3Dcommit;h=3D491cd=
>> Note that the debs with 1.08 in their name were rebuilt recently; git
>> is the authoritative source of version numbers.
> Hi Adam,
> the latest version 1.08 of libnss-afs cannot be build on a amd64 Ubuntu J=
> I'm getting this error message:
> gcc -shared -fPIC -o libnss_afs.so.2 nss_afs.o \
> =A0 =A0 =A0 =A0-Wl,-soname,libnss_afs.so.2 -L/usr/lib/afs -L/usr/lib -laf=
sauthent -lafsrpc -lpthread -lsys -lnsl -lresolv -g
> /usr/bin/ld: /usr/lib/libafsauthent.a(ubikclient.o): relocation R_X86_64_=
32 against `ubik_client_mutex' can not be used when making a shared object;=
recompile with -fPIC
> /usr/lib/libafsauthent.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [libnss_afs.so.2] Error 1
> But when I use the old LDFLAGS definition from version 1.07 the compilati=
on is successful.
a fully-compiled object that crashes is of limited value, yes?
there are shared libafsauthent and libafsrpc; where are they
installed, and why are they not being linked?