in reply to
undefined symbol when running cgi script
Whatever is responsible for the Modules/WSD/Filter51032_2.so shared object (probably something that came out of a C compiler) needs to be fixed. Presumably, it's part of some module you built. Perhaps it was built against a different perl than the one you have, or there's some missing library in the chain, or maybe something in your environment is more deeply screwed up. But that's where your issue lies.
The shortcut is clear out all traces of whatever module that is, and try rebuilding it from scratch. Sometimes rolling the dice will win. If not, you'll just have to dig deeper and see what's failing in the build.