Re: error during configure_packages

Peter Soetens <[email protected]> Thu, 9 Feb 2006 14:10:33 +0100
Newsgroups gmane.science.robotics.orocos.user
Organization FMTC
Message-ID <[email protected]>
On Wednesday 08 February 2006 23:04, J.D. Yamokoski wrote:
> 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

If you try: 
$ ldd /opt/orocos/orocos-0.20.1/tools/bin/configtool
you'll probably notice that it won't find libpng.so.2 (note the '2') You have 
probably a more recent 'libpng' version on your system. Can you find a
'libpng2' package for your distribution ?

> 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

To run the test-suite, we rely on libcppunit. Try again 'ldd tests/state-test' 
and see if it can find that file. Be sure that /usr/local/lib is in your 
LD_LIBRARY_PATH=/usr/local/lib 
or listed as such in /etc/ld.so.conf

Please, feel free to subscribe to the orocos-dev mailinglist if you experience 
any more 'technical' problems.

Peter
-- 
Peter Soetens -- FMTC -- <http://www.fmtc.be>