http://www.perlmonks.org?node_id=172499

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/libdb.so.2. +0.0: undefined symbol: _xstat [Sat Mar 30 01:17:33 2002] [error] [client 208.235.34.155] 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. So...here'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. webmaster_at_isotopelounge.com

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

FoncÚ