Andres Cimmarusti <[email protected]> writes: > Hello, I'm trying to compile root-system from source (as the packages in > Debian are very outdated and/or broken.
> However, I'm getting the error during compilation: > g++ ../../obj/XrdSecProtocolpwd.o -m64 -shared -lcrypt > /usr/lib64/libafsauthent.a /usr/lib64/libafsauthent.a -L../../lib -lXrdCrypto > -lXrdSut -lXrdOuc -lXrdSys -lnsl -lpthread -lrt -ldl -lc -lresolv -o > ../../lib/libXrdSecpwd.so > /usr/bin/ld: /usr/lib64/libafsauthent.a(client.o): relocation R_X86_64_32 > against `grmutex' can not be used when making a shared object; recompile with > -fPIC > /usr/lib64/libafsauthent.a: could not read symbols: Bad value > Could you please compile openafs with fPIC support? I believe that would > solve the issue. PIC versions of the libraries are available as -lafsauthent_pic and -lafsrpc_pic (this matches the current upstream stable branch). There will be real shared libraries once 1.6 is released. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

