Re: Error while loading shared libraries: libCore.so

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Thu, 17 Dec 2009 16:18:01 +0100


Hi Marcelo,

Does your /etc/ld.so.conf (or /etc/ld.so.conf.d/*) contain /usr/local/lib? If not, add it and run ldconfig.

Did you first configure with --prefix? Or did you configure only the second time with --prefix? You'll need to make distclean before rebuilding with such a fundamental change.

In general we recommend using the --prefix-less build where you specify $ROOTSYS, and where you run ROOT from within its build directory (that you can copy to e.g. /opt/root if you like).

Cheers, Axel.

Marcelo Zimbres wrote on 12/17/2009 03:28 PM:
> hi , I am trying to install root from source. After installing and
> trying to run it I get the error message:
>
> root.exe: error while loading shared libraries: libCore.so: cannot open
> shared object file: No such file or directory
>
> so, to set run-time library load path on executables, I try
>
> ./configure --prefix=/usr/local --enable-rpath
> make -j 4
> make install
>
> without success, the same error message is reported. What am I missing,
> could you help me fix this simple problem please?
>
> Regards, Marcelo
>
>
Received on Thu Dec 17 2009 - 16:15:43 CET

This archive was generated by hypermail 2.2.0 : Thu Dec 17 2009 - 17:50:02 CET