I had a problem and found a non-trivial solution so I thought I should post it.
Running Fedora 10 on a x86_64 processor. I compiled Root-5.22.00 from source using “./configure linux”. (I need 32-bit binaries to link with some other 32-bit code.)
The problem with most of this is making sure that your distribution installs the needed 32-bit libraries etc… My solution has always been to install the needed libraries when the compiling process stops. If it stops, the error message usually indicates the needed files/libraries.
However, I successfully compiled and ran this Root version without problems until I attempted to open the Editor in TCanvas. Then CINT returned libASImage.so undefined symbol: png_create_read_struct.
The solution is to install the 32-bit version of libpng. (“yum install libpng.i386”) (Also make sure that “/usr/lib/libpng.so” is a link to the actual library which may append a version number to the file name) Then recompile the Root source.
make dist clean
./configure linux
make
(copy to $ROOTSYS if necessary)
This solution seemed less obvious than most. I couldn’t find a post of this error when I first started searching, so here it is…
Mike