Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

undefined symbol when running cgi script

by central101 (Initiate)
on Nov 10, 2012 at 01:23 UTC ( #1003218=perlquestion: print w/replies, xml ) Need Help??
central101 has asked for the wisdom of the Perl Monks concerning the following question:


I'm running Fedora 16 32bit on a server of mine and I'm trying to get a cgi script to work. I'm getting the following error in the error log when trying to run the install.cgi via the browser.

/usr/bin/perl: symbol lookup error: Modules/WSD/ unde +fined symbol: Perl_Istack_sp_ptr [Fri Nov 09 14:24:16 2012] [error] [client] Premature end of s +cript headers: install.cgi

I install perl and all the modules via CPAN. I've reinstalled some of the perl modules but still get the same error. Maybe the perl version is messing around with the script? I'm not sure. A Google search provided no relevant solution to this problem. Can anyone recommend something?

Thank you in advanced.

Replies are listed 'Best First'.
Re: undefined symbol when running cgi script
by Mr. Muskrat (Canon) on Nov 10, 2012 at 13:29 UTC

    Contact the developers of the WSD::Filter module? A quick Google search seems to indicate that you have purchased and are using's XFileSharing Pro.

Re: undefined symbol when running cgi script
by fullermd (Priest) on Nov 10, 2012 at 02:50 UTC

    Whatever is responsible for the Modules/WSD/ 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.

      I didn't build the modules for the program/script I'm trying to get working. Perhaps I will try to install an older version of perl to see what results I get. Whats the best approach for this? Should I remove perl all together and start over?
      Thank you for the help thus far.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1003218]
Approved by davido
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-06-21 15:19 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.