About the "libCore.so not found" saga

From: Jacques Goldberg <goldberg_at_phep2.technion.ac.il>
Date: Fri, 3 Sep 2010 15:16:06 +0300


  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 Received on Fri Sep 03 2010 - 14:16:13 CEST

This archive was generated by hypermail 2.2.0 : Fri Sep 03 2010 - 17:50:02 CEST