Building root-6.06.00 fails on Fedora 22

Building root-6.06.00 fails on Fedora 22 following “Fixed locations build” in README/INSTALL.
libCore.so: cannot open shared object file: No such file or directory”, even though the
library exists and the build was supposed to use static library names.

uname -a
Linux WIN7.home 4.2.7-200.fc22.x86_64 #1 SMP Thu Dec 10 03:28:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
gcc --version
gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2)

./configure --prefix=/usr/local

If any of the flags --datadir, --docdir, --etcdir, --iconpath
–incdir, --libdir, --macrodir, --mandir, or --prefix is given,
ROOT will be compiled with static directory names, and you should not set
the ROOTSYS environment variable.

gmake
sudo gmake install

gives

============================================================
=== ROOT BUILD SUCCESSFUL. ===
=== Run ‘make install’ now. ===

Installing binaries in /usr/local/bin
Installing libraries in /usr/local/lib/root
Installing headers in /usr/local/include/root
Installing /home/*****/src/root-6.06.00/main/src/rmain.cxx in /usr/local/include/root
Installing icons in /usr/local/share/root/icons
Installing fonts in /usr/local/share/root/fonts
Installing misc docs in /usr/local/share/doc/root
Installing tutorials in /usr/local/share/doc/root/tutorials
Installing tests in /usr/local/share/doc/root/test
Installing macros in /usr/local/share/root/macros
Installing man(1) pages in /usr/local/share/man/man1
Installing config files in /usr/local/etc/root
Installing Autoconf macro in /usr/local/share/aclocal
Installing Emacs Lisp library in /usr/local/share/emacs/site-lisp
Installing GDML conversion scripts in /usr/local/lib/root
/usr/local/bin/root.exe: error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory

Also
which root
/usr/local/bin/root

root
/usr/local/bin/root.exe: error while loading shared libraries: libCore.so: cannot open shared object file: No such file or directory

ldd which root
linux-vdso.so.1 (0x00007ffe2e3f6000)
libXpm.so.4 => /lib64/libXpm.so.4 (0x00007f5f1ca0d000)
libXext.so.6 => /lib64/libXext.so.6 (0x00007f5f1c7fa000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007f5f1c4b9000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f5f1c137000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f5f1bf1f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5f1bb5f000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f5f1b93d000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f5f1b738000)
libm.so.6 => /lib64/libm.so.6 (0x00007f5f1b430000)
/lib64/ld-linux-x86-64.so.2 (0x000055fec3555000)
libXau.so.6 => /lib64/libXau.so.6 (0x00007f5f1b22c000)

which root-config
/usr/local/bin/root-config

root-config --version --arch --cflags --libs
6.06/00 linuxx8664gcc -pthread -std=c++11 -Wno-deprecated-declarations -m64 -I/usr/local/include/root -L/usr/local/lib/root -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic

ldd /usr/local/lib/root/libCore.so
linux-vdso.so.1 (0x00007ffda11eb000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8c453f8000)
libz.so.1 => /lib64/libz.so.1 (0x00007f8c451e1000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f8c44fbb000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8c44d4b000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f8c449c8000)
libm.so.6 => /lib64/libm.so.6 (0x00007f8c446c0000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8c444a9000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8c440e8000)
/lib64/ld-linux-x86-64.so.2 (0x000055f2539d5000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8c43ecc000)

ldd /usr/local/lib/root/libGui.so
linux-vdso.so.1 (0x00007ffe7cff6000)
libCore.so => not found
libGpad.so => not found
libGraf.so => not found
libRIO.so => not found
libMathCore.so => not found
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f533f528000)
libm.so.6 => /lib64/libm.so.6 (0x00007f533f220000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f533f008000)
libc.so.6 => /lib64/libc.so.6 (0x00007f533ec48000)
/lib64/ld-linux-x86-64.so.2 (0x000055b29d5a0000)

Please try with CMake.

Works with cmake, thanks! If only README/INSTALL had up to date info.

Good point about README/INSTALL. I’ll fix it now. Thanks.