Re: About the "libCore.so not found" saga

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Fri, 3 Sep 2010 14:48:39 +0200


Okay no problem. Enjoy.

Cheers, Fons.

On 03/09/2010 14:34, Jacques Goldberg wrote:
>
> Ok Fons.
> I apologize.
> My mistake.
> I did intend a system wide install and I failed to remember to update
> /etc/ld.so.conf
>
> I am sorry to have disturbed you.
>
> Thanks for this and thanks for root.
>
> Jacques
>
> On 09/03/2010 03:28 PM, Fons Rademakers wrote:
>> Hi Jacques,
>>
>> it is either using --prefix or using ROOTSYS, not both. The prefix option
>> is only for people who want to install ROOT as a system component,
>> integrated with adding <prefixdir>/root/lib to /etc/ld.so.conf. In the
>> case of prefix we don't check ROOTSYS but the <prefixdir> derived
>> location. What you want it just:
>>
>> cd ~/root
>> ./configure
>> make
>> export ROOTSYS=~/root
>>
>> For more see http://root.cern.ch/drupal/content/installing-root-source
>>
>> Cheers, Fons.
>>
>>
>>
>> On 03/09/2010 14:16, Jacques Goldberg wrote:
>>>
>>> Yesterday evening I have downloaded and installed the current (recommended)
>>> dev version tarball - on a Fedora 12 x86_64 system.
>>> I selected to use --prefix=/usr/local and no other configure options.
>>> It went smooth until after getting the splash image upon the first root
>>> command: libCore.so not found.
>>> I read the saga and immediately started enjoying root (not my first time),
>>> after setting the right path for LD_LIBRARY_PATH as detected by
>>> updatedb/locate (see below).
>>>
>>> Today I wanted to understand a bit better and I observe something strange,
>>> probably a bug which some people, not me, might qualify "stupid" (my own
>>> bugs only are stupid).
>>>
>>> When I echoed $ROOTSYS I got /usr/local/root which contained .... nothing!
>>> I then did updatedb followed by locate libCore.so which found the file at
>>> /usr/local/lib/root while the program looks for it at /usr/local/root/lib
>>> Just likewise, the include files are at /usr/local/include/root
>>>
>>> I am not sure if this is a bug and even less THE bug but I nevertheless
>>> suggest to check lines 5466 through 5468
>>> 5465 if test "x$prefix" = "x"; then prefix=/usr/local; fi
>>> 5466 if test "x$bindir" = "x"; then bindir=$prefix/bin; fi
>>> 5467 if test "x$libdir" = "x"; then libdir=$prefix/lib/root; fi
>>> 5468 if test "x$incdir" = "x"; then incdir=$prefix/include/root; fi
>>> in file root/configure (root being here the unpacked directory), as well as
>>> the explanation in lines:
>>> 1143 --incdir Header installation dir (<prefix>/include/root)
>>> 1144 --libdir Library installation dir (<prefix>/lib/root)
>>>
>>> In any case, clearly these lines are not compatible with the ROOTSYS based
>>> design.
>>>
>>> Jacques
>>>
>>
>

-- 
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://fons.rademakers.org           Fax:   +41 22 7669640
Received on Fri Sep 03 2010 - 14:48:47 CEST

This archive was generated by hypermail 2.2.0 : Sat Sep 04 2010 - 23:50:01 CEST