The distributed Makefile requires -lpbm. At least in
the Redhat lineage this appears to have shipped last
with Redhat 9. Fortunately all the functions required
are available in -lnetpbm and -lm. This patch changes
the Makefile to use those libraries.
Makefile patch for current Fedora versions