Problem with root directories

Hello,
I mistakenly installed root in /usr/local/ instead of /usr/local/root/
I tried make uninstall, then I runned ./configure linux --prefix=/usr/local/root
and I did make install once again (I didn’t recompile the files).

The problem is I get this error when I type root in console :
rootx xpm error: XpmOpenFailed
root: can’t start ROOT – check that /usr/local/bin/root.exe exists!

and I get this problem when I try to compile a program that uses root (it compiles, but the error is at runtime) :
./JJSimulator.out: error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory

Thank you for helping me.

This looks like a wrong LD_LIBRARY_PATH.
Remove a possible trace of the old installation in ld.so.conf

Rene

Hello,
Thank you for your answer, but it still doesn’t work.
Here is the content of /etc/ld.so.conf :
/usr/X11R6/lib
/usr/lib/qt3/lib
here is my $LD_LIBRARY_PATH :
[mboisson@mboisson mboisson]$ echo $LD_LIBRARY_PATH
/usr/local/root/bin:/opt/intel_cc_80/lib:/usr/local/root/lib

I still get that message when I start root :

[mboisson@mboisson mboisson]$ root
rootx xpm error: XpmOpenFailed
root: can’t start ROOT – check that /usr/local/bin/root.exe exists!

Thank you

Hi,
as far as I remember, configure && make install isn’t good enough - you will have to run make, too (as the install path is used in some code - that’s the whole point of configuring with the install path). Could you try make && make install?
Axel.

Thank you,
I will try this tonight.

I’ll keep you informed.

Hello,
Sorry for the delay, I did not have time to try that before today.

It worked once I maked it over, and once I properly set the LD_LIBRARY_PATH.

Thank you very much,

Maxime Boissonneault
mboisso@poolexpert.com