New install shadowed by old std install

Hi,

I’m working on a computer where ROOT v 5.28/00g is installed and where I don’t have super user credentials.

I want to run another version of ROOT v5.34.19. I managed to compile this version locally (see details below).
But when I run the resulting binary I get ROOT v 5.28/00g! And not the version I compiled!

[code]ecm@titan1:~$ cd local/root_v5.34.19/bin
ecm@titan1:~/local/root_v5.34.19/bin$ ./root.exe -b


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.28/00g 14 September 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.28/00g (tags/v5-28-00g@40876, Sep 14 2011, 15:32:32 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
[/code]

Any suggestions?

Eric

my environment is clean

[code]env | grep ROOT

nothing
[/code]

configure line:

make

At some point, I have to fix the following linking command

I replaced -L/usr/lib -lCint by lib/libCint.so -L/usr/lib

Note that

[quote]ls -al /lib/libCint* /lib64/libCint* /usr/lib/libCint* /usr/lib64/libCint*
-rw-r–r-- 1 root root 2576954 Oct 30 2011 /usr/lib/libCint.so
-rw-r–r-- 1 root root 70 Oct 30 2011 /usr/lib/libCintex.rootmap
-rw-r–r-- 1 root root 223216 Oct 30 2011 /usr/lib/libCintex.so
-rw-r–r-- 1 root root 2576954 Oct 30 2011 /usr/lib64/libCint.so
-rw-r–r-- 1 root root 70 Oct 30 2011 /usr/lib64/libCintex.rootmap
-rw-r–r-- 1 root root 223216 Oct 30 2011 /usr/lib64/libCintex.so
[/quote]

I finally got:

[quote] ============================================================
=== ROOT BUILD SUCCESSFUL. ===
=== Run ‘make install’ now. ===

[/quote]

I believe your new ROOT installation is broken.

Ask your computer’s administrator to read and follow advices given in [url=https://root-forum.cern.ch/t/missing-canvas/17664/17 old post[/url] (afterwards you will need to configure and make your new ROOT version completely from scratch).

As suggested in your post, I could compile ROOT v5.39.14 by:

  1. adding “–etcdir XXXX” to the configure line which becomes
  1. setting

[quote]export ROOTSYS=$HOME/local/root_v5.34.19/lib
export LD_LIBRARY_PATH=$HOME/local/root_v5.34.19/lib[/quote]

Thanks,
Eric

[code] *******************************************

  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.34/19 9 July 2014 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

[/code]