Problem with shared libraries after ROOT installation

Hello again.

I’ve finally installed ROOT v6.04.14.source on Ubuntu 15.10:

​cd root/
./configure linuxx8664gcc
make -j 4
export ROOTSYS=/home/luz/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
. bin/thisroot.sh 
root 

But a problem appears when I try to open TBrowser:

root [0] TBrowser b
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TGVSplitter::TGVSplitter>: splitterv.xpm not found
cling::DynamicLibraryManager::loadLibrary(): libpng16.so.16: cannot open shared object file: No such file or directory
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage

Can somebody help me?

Thanks,

Luz

Dear Luz,
Please use the cmake build method. root.cern.ch/building-root

mkdir build
cd build
cmake ../root
make -j4
source bin/thisroot.sh

It’s perfect!, Now everything is working.
Thanks a lot!

Luz