Re: [ROOT] Problems with shared libraries in rootd authentication

From: Fons Rademakers (
Date: Mon Apr 26 2004 - 15:56:03 MEST

Hi Birger,

  how should the server know where to find the LD_LIBRARY_PATH? The
program is being called before the user is authenticated. The best thing
to do in such cases is to have the sysadmin who installed the
non-standard compiler to add the lib directories of the compiler to
/etc/, in this case:


Cheers, Fons.

On Mon, 2004-04-26 at 15:09, Birger Koblitz wrote:
> Hi,
> I am looking into PROOF for the ARDA project and did some tests with the 
> rootd, first. I ran into the following problem:
> I use the root 4.00.03 installation at 
> /afs/ and have started up the 
> rootd successfully. Now, when I try to authenticate via ssh, I get
> /afs/ error while 
> loading shared libraries: cannot open shared object file: 
> No such file or directory
> It seems my LD_LIBRARY_PATH settings are not correctly taken into account. 
> Looking at 
> ldd /afs/
> => /lib/ (0x4002a000)
> => /usr/local/gcc-alt-3.2.3/lib/ 
> (0x4002e000)
> => /lib/i686/ (0x400df000)
> => /usr/local/gcc-alt-3.2.3/lib/ 
> (0x40101000)
> => /lib/i686/ (0x42000000)
>         /lib/ => /lib/ (0x40000000)
> suggests problems with the gcc3.2 libraries. As root on that machine I 
> fixed this problem easily by links of and lib/ 
> into /lib. My question:
> Within the Grid-Framework it will be necessary that the users run 
> individualized versions of root on the machines depending on their library 
> paths. They cannot depend on the superuser to solve their problems. Did I 
> overlook anything, or is this currently impossible?
> Cheers,
>   Birger
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail:              Phone: +41 22 7679248
WWW:      Fax:   +41 22 7679480

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET