Request Tracker 2.0.8 on NetBSD 1.5.1

Dear Request Trackers and NetBSDers,

I’m trying to install RT 2.0.8 - There seems to be some problem with some
pieces of the apache->perl->dbi->mysql in that when I attempt to start
apache I get the following error message from line 352 in my httpd.conf
which is: PerlRequire /home/rt2/bin/webmux.pl

It appears there is a problem with not being able to locate symbol PL_op
when using data dumper.

I’ve included the perl packages installed on this NetBSD-1.5.1 system
along with the output of make testdeps.

Any hints would be appreciated.
johnh…

Error when starting apache
[Tue Oct 23 10:54:38 2001] [error] Can’t load
’/usr/pkg/lib/perl5/5.6.1/i386-netbsd/auto/Data/Dumper/Dumper.so’ for
module
Data::Dumper: /usr/pkg/lib/perl5/5.6.1/i386-netbsd/auto/Data/Dumper/Dumper.so: Undefined
symbol “PL_op” (reloc type = 6, symnum = 58) at
/usr/pkg/lib/perl5/5.6.1/i386-netbsd/XSLoader.pm line 75.
at /usr/pkg/lib/perl5/5.6.1/i386-netbsd/Data/Dumper.pm line 27
Compilation failed in require at
/usr/pkg/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 79.
BEGIN failed–compilation aborted at
/usr/pkg/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 79.
Compilation failed in require at /home/rt2/bin/webmux.pl line 20.
BEGIN failed–compilation aborted at /home/rt2/bin/webmux.pl line 20.
Compilation failed in require at (eval 1) line 1.

Syntax error on line 352 of /usr/pkg/etc/httpd/httpd.conf:
line 352 of httpd.conf is:
PerlRequire /home/rt2/bin/webmux.pl

perl packages
pkg_info -a | fgrep p5-
p5-CGI-2.75.2 perl5 module for writing forms-based CGI programs
p5-BSD-Resource-1.10 BSD::Resource - Perl interface to BSD process
resources library
p5-DBI-1.18 the database-independent Perl database access API
p5-Data-Dumper-2.102nb1 perl5 module for stringified perl data structures
p5-Data-ShowTable-3.3 Perl module to print arrays of data in nicely
formatted listings
p5-DBD-mysql-1.2215 perl DBI/DBD driver for MySQL databases
p5-Digest-MD5-2.12 Perl5 extension interface for various message digest
algorithms
p5-HTML-Tagset-3.03 perl5 module of data tables useful in parsing HTML
p5-HTML-Parser-3.25 perl5 module to parse HTML text documents
p5-MIME-Base64-2.12 perl5 module for Base64 and Quoted-Printable encodings
p5-Net-1.0703 perl5 modules to access and use network protocols
p5-URI-1.12 Perl5 class to represent Uniform Resource Identifier
(URI, RFC 2396)
p5-libwww-5.53 perl5 library for WWW access
p5-MLDBM-2.00 perl5 module for storing arbitrary data in tied hashes
p5-Params-Validate-0.04 Validate method/function parameters
p5-HTML-Mason-1.03 Perl-based web site development and delivery system
p5-Storable-1.0.11 Perl extension module for persistent data storage
p5-Apache-Session-1.53 perl5 module to provide persistent storage

output of testdeps
cslab# make testdeps
/usr/pkg/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.43 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found

  • John Hayward wrote on 23 Oct 2001:

Dear Request Trackers and NetBSDers,

I’m trying to install RT 2.0.8 - There seems to be some problem with some
pieces of the apache->perl->dbi->mysql in that when I attempt to start
apache I get the following error message from line 352 in my httpd.conf
which is: PerlRequire /home/rt2/bin/webmux.pl

It appears there is a problem with not being able to locate symbol PL_op
when using data dumper.

I’ve included the perl packages installed on this NetBSD-1.5.1 system
along with the output of make testdeps.

Any hints would be appreciated.
johnh…

Error when starting apache

[Tue Oct 23 10:54:38 2001] [error] Can’t load
‘/usr/pkg/lib/perl5/5.6.1/i386-netbsd/auto/Data/Dumper/Dumper.so’ for
module
Data::Dumper: /usr/pkg/lib/perl5/5.6.1/i386-netbsd/auto/Data/Dumper/Dumper.so: Undefined
symbol “PL_op” (reloc type = 6, symnum = 58) at
/usr/pkg/lib/perl5/5.6.1/i386-netbsd/XSLoader.pm line 75.
at /usr/pkg/lib/perl5/5.6.1/i386-netbsd/Data/Dumper.pm line 27
Compilation failed in require at
/usr/pkg/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 79.
BEGIN failed–compilation aborted at
/usr/pkg/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 79.
Compilation failed in require at /home/rt2/bin/webmux.pl line 20.
BEGIN failed–compilation aborted at /home/rt2/bin/webmux.pl line 20.
Compilation failed in require at (eval 1) line 1.

Syntax error on line 352 of /usr/pkg/etc/httpd/httpd.conf:

line 352 of httpd.conf is:
PerlRequire /home/rt2/bin/webmux.pl

This sounds like a perl problem…

Try adding this to your web server configuration:

<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status

then go to http://server/perl-status see if you get any other errors.

It sounds to me like your mod_perl has some issues. Is this built dso? static?

Adam