Re: Root-enfoced maximum length to LD_LIBRARY_PATH

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Wed, 01 Jun 2005 11:47:10 +0200


Hi John,

  the current limit in root for the LD_LIBRARY_PATH is 4096 chars. The string you specify is only about 970 or did it get truncated in the mail?

Cheers, Fons.

John Pretz wrote:

> Hi Fons,
> 
> If I do 'root.exe' then all is well.  There is no hang.
> 
> John
> 
> Fons Rademakers wrote:
> 

>> Hi John,
>>
>> does it work when you do "root.exe" instead of "root"?
>>
>> Cheers, Fons.
>>
>>
>>
>> John Pretz wrote:
>>
>>> Hi roottalk,
>>>
>>> I'm having trouble with root.
>>>
>>> I'm on a rhel3 box, running root4.00.08f.
>>>
>>> % echo $ROOTSYS
>>> /disk02/software/root/root4
>>> % which root
>>> % echo $LD_LIBRARY_PATH
>>> /disk02/software/root/root4/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/opt/kde/lib:~/lib:/disk02/software/root/root4/lib::.
>>>
>>> % root -b -q
>>>
>>> This works with no problems.
>>>
>>> If I now
>>> setenv LD_LIBRARY_PATH
>>> /disk02/software/root/root4/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/opt/kde/lib:~/lib:/disk02/software/root/root4/lib:.:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:123456789:
>>>
>>>
>>> so that LD_LIBRARY_PATH is long, now
>>> % root -b -q
>>> core dumps.
>>>
>>> This call also core dumps:
>>> % root -l
>>>
>>> And this one hangs with the splash screen popped up:
>>> % root
>>>
>>> Any advice? (other than just shorten my LD_LIBRARY_PATH. That's not
>>> an option.)
>>>
>>> Thanks,
>>>
>>> John
>>
>>
>>
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Wed Jun 01 2005 - 11:47:14 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET