In fact I am not sure. I took the tarball from the ROOT web site (root_v5.22.00.Linux-slc4_amd64-gcc3.4.tar.gz from root.cern.ch/root/Version522.html). I don’t know if it as been compiled with the -enable-afs option however…
These tarballs do not have AFS enabled, the main reason is that the AFS authentication libraries are in the ‘openafs-devel’ rpm, which is not installed by default on the build machines.
One additional difficulty for SLC on AMD64 is that only static AFS libs are provided and these are not compiled with PIC support.
This makes the build of the relevant xrootd plug-in to fail with a relocation error.
However there are sites providing shared versions of the relevant libraries for SLC, so this problem can be overcome.
The AFS libraries needed by PROOF are ‘libafsrpc.so’ and ‘libafsauthent.so’; these are typically located under /usr/lib64.
If you have these libraries, or you are in the position to install them, I can provide a version of libXrdSecpwd.so with AFS support enabled that you can use in your installation.
The machines installed at CC are on SL4. The AFS libraries you mentioned in your previous email (libafsrpc.so and libafsauthent.so) are also available. So if I understand you well, I only need a libXrdSecpwd.so library which should be put in the ROOT lib directory. So if you could tell me where to find it (from a public AFS area at Cern for example), it would be nice
Sorry for the delay. By trying out on our SLC4 machines, I have realized that default AFS shared libraries lack a symbol; on some distributions - e.g. Gentoo - the symbols are made available explicitily by modifying the openafs makefiles … what a mess.
So, I have found another solutions consisting in building the plug-ins with the proper static libraries, so that one does not need to link to anything else.
I have put the tarballs with the plug-ins for {5.22.00, SLC4, amd64, gcc34} under
a. root-5-22-00-afs-etc_slc4_amd64_gcc43.tar.gz
b. root-5-22-00-afs-transarc_slc4_amd64_gcc43.tar.gz
The reason is an additional complication due to the fact that the config directory seems to be hard-coded in AFS and needs to be specified at building time.
Version a) expects the files like ThisCell to be under /etc/openafs; version b) uses the Transarc classic convention, with ThisCell under /usr/vice/etc .
(since there was no additional work I have put the two versions, though a symlink maybe enough to interconnect the two).
The script installAFStar.sh is a first version of an installer (still very basic; just to give you an idea of what to do).
Once you have the new plug-ins in place, you should use the following directives to activate AFS authentication:
If you do not have yet a pwdadmin-file just create one running ‘xrdpwdadmin’ and put it somewhere visible for all the machines: it contains the server side key to initiate the session ciphers.