Hi Federico,
The default compiler on RH7.3 is gcc2.96. If you want to run with gcc3.2,
you must have in your PATH the directory:/usr/local/gcc-alt-3.2/bin
and in your LD_LIBRARY_PATH, you must have the directory:
/usr/local/gcc-alt-3.2/lib
Rene Brun
Federico Roncarolo wrote:
>
> Hello,
>
> I'm trying to start ROOT on LXPLUS, which passed to RH7.3 today...
>
> I think I set correctly the Env. variables (I'm using tcsh):
>
> setenv ROOTSYS /afs/cern.ch/sw/root/v3.04.02/rh73_gcc32/root
>
> setenv SHLIB_PATH ${SHLIB_PATH}:${ROOTSYS}/lib
> setenv PATH {$PATH}:{$ROOTSYS}/bin:/usr/X11R6/bin
> setenv LD_LIBRARY_PATH {$ROOTSYS}/lib
>
> When trying to run root I get:
>
> root: error while loading shared libraries: libstdc++.so.5: cannot open
> shared object file: No such file or directory
>
> Is the problem concerning gcc, since
>
> gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
>
> is the one on lxplus and gcc32 the one used to compile root on afs?
>
> Regards,
> Federico
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET