FoncÚ has asked for the wisdom of the Perl Monks concerning the following question:

Alright, so I'm new at this...I've only been *attempting* to write Perl for a few months now, and I've run into my first serious block. I'm one of those people whose job involves doing pretty much everything computer for a small company, so they expect me to know everything, too. Here's the problem:

I'm trying to install a relatively simple email Perl/CGI app (which I did not write, as mine didn't work at all) on an Apache webserver, nothing out of the ordinary, but I keep getting 500 server errors (almost that many, too). I've checked and checked and messed and messed, and I am at a loss. Here's what the log says:
/usr/bin/perl: error in loading shared libraries: /usr/lib/ +0.0: undefined symbol: _xstat [Sat Mar 30 01:17:33 2002] [error] [client] Premature e +nd of script headers: /www/cgi-bin/amail/scripts/amail.cgi [Sat Mar 30 02:14:15 2002]
I get this every time I try to login. Some of the programme works, some doesn't.'s a link to the source code, zipped, of course, and...this is my cry for help. I'm hoping this will improve my overall Perl 'prowess'. Thanks in advance for correcting my insolence. No, really, thanks.

Hey, feel free to email me if you'd like.

Edited by mirod 2002-06-07: changed the title and munged the contact email, as requested by the author.