error during configure_packages

"J.D. Yamokoski" <[email protected]> Wed, 08 Feb 2006 17:04:21 -0500
Newsgroups gmane.science.robotics.orocos.user
Message-ID <[email protected]>
Greetings,

Its been a long time since I have used Linux on a day-to-day basis, so 
excuse my ignorance if this is a very simply problem to fix. I have 
installed Orocos using make docs, make new_packages, make all_packages, 
make install. But when I try to do make configure_packages, I get an error:

/opt/orocos/orocos-0.20.1/tools/bin/configtool: error while loading 
shared libraries: libpng.so.2: cannot open shared object file: No such 
file or directory
make: *** [configure_packages] Error 127

I checked to make sure that library was on my system with a "whereis 
libpng" and I found it at,

libpng: /usr/lib/libpng.so

Is this something I can fix with ldconfig? I also get a similar problem 
when I do "make check":

./state-test: error while loading shared libraries: 
libcppunit-1.10.so.2: cannot open shared object file: No such file or 
directory
FAIL: state-test

whereis libcppunit:
libcppunit: /usr/local/lib/libcppunit.so


J.D. Yamokoski