Well, I never actually did find the exact cause but I got around the problem by clearing out most of /lib and /usr then re-installing Slackware 13.37. There are still two libjpeg versions but ImageMagick seems not to know that now and what it doesn't know doesn't confuse it.

Thanks for your moral support.