That narrows it down. First, I would run
on the executable. It will tell you where it finds, or doesn't find,
shared libraries needed by the executable. We already know it won't
find libpng.so.3, but this will tell you if there are others.
Next, I would run
locate libpng to see if it is somewhere on your system. (If your system doesn't have the locate command, you can use
find / -name libpng\* for a similar effect.)
If you really don't have the library, then you need to install it.
If you have it installed and it is the wrong version, either recompile dvipng or upgrade your version of the library.
If you have the right version, but ldd doesn't match it to dvipng, see
if it's location is in /etc/ld.so.conf (the name on your system may be
different, but it should be listed at the end of the man page for
In all likelyhood, you will need to recompile dvipng. You can either
work from the version you got from my web page, fiddling things so that
it finds what it needs, or get a fresh copy. The dvipng maintainer has
made some improvements in it including some simplifications in the
configure/build process. On one hand, the new version has a configure
script. On the other hand, it didn't find some of the things on my
system without help. It can be found on the downloads page for the
When autoconf/configure works well for the "official" release of dvipng, I will stop keeping an old copy available.
<| Post or View Comments |>