Error starting up root

hi there,

i recently updated my system to Ubuntu 9.10 and installed root v5.26/00. i followed the guide in the install document.

3.2. Fixed locations build:
./configure --prefix=/usr/local
gmake
gmake install

no errors, no issues.
however, when i try to run root, i get the following error:
/root$ root
/usr/local/bin/root.exe: error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory

do i have to follow step 3.1. Environment driven build:?

thanks for your time and attention,
cheers,
alan

Hi,

run sudo ldconfig. Does that help?

Cheers, Axel.

hi axel,

thank you for the info. i did run sudo ldconfig, as recommended. but, still the same issue. it did not seem to work.

cheers,
alan

Hi,

two things to test:
grep local /etc/ld.so.conf /etc/ld.so.conf.d/*.conf
(i.e. is it part of ld’s configured directories?) and
ls -l /usr/local/lib/libCore.so
i.e. does the library actually exist?

Cheers, Axel.

hi axel,

i found a note from someone who had the same/similar issue. the link is root.cern.ch/phpBB2/viewtopic.ph … ht=libcore

i had to create a root.conf file with the address to the lib such as:

$ cat root.conf
/usr/local/lib/root

then, just run a sudo ldconfig

now all is running nicely.
once again, thanks for your help.

cheers,
alan