that's libgd. unless there's a piece of it that I completely overlooked, I have a fresh install of that.
update: It turned out to be a libgd problem, as Fastolfe suggested. Although it was installed, it had gone to the wrong /lib. I set -prefix differently during the ./configure step, and it worked out fine.