Subject: | Undefined symbol apreq_handle_apache2 when using libapreq2 outside of Apache |
Date: | Fri, 26 Jun 2020 17:44:32 +0000 |
To: | "bug-libapreq2 [...] rt.cpan.org" <bug-libapreq2 [...] rt.cpan.org> |
From: | Matthew Saltzman <mjs [...] clemson.edu> |
Operating system: CentOS 8/RHEL 8/Fedora 32
Perl version: perl5 (revision 5 version 26 subversion 3) (CentOS)
perl5 (revision 5 version 30 subversion 3) (Fedora)
Example of failure:
$ perl -MApache2::Request -e 1
Can't load
'/usr/lib64/perl5/vendor_perl/auto/APR/Request/Apache2/Apache2.so'
for module APR::Request::Apache2:
/usr/lib64/perl5/vendor_perl/auto/APR/Request/Apache2/Apache2.so:
undefined symbol: apreq_handle_apache2 at
/usr/lib64/perl5/DynaLoader.pm line 193.
at /usr/lib64/perl5/vendor_perl/Apache2/Request.pm line 3.
Compilation failed in require at
/usr/lib64/perl5/vendor_perl/Apache2/Request.pm line 3.
BEGIN failed--compilation aborted at
/usr/lib64/perl5/vendor_perl/Apache2/Request.pm line 3.
Compilation failed in require.
BEGIN failed--compilation aborted.
On CentOS/RHEL (from the EPEL repository), the RPM is perl-libapreq2-
2.13-38.el8.x86_64. The failure does not occur in CentOS 7, with RPM
perl-libapreq2-2.13-13.el7.x86_64 and perl5 (revision 5 version 16
subversion 3).
I assume this is some sort of build or packaging issue, but I am at a
loss as to how to proceed with debugging it. This is a showstopper for
installing WebWork (https://webwork.maa.org/) on RHEL/CentOS 8.
Thanks for any direction you can provide.
--
Matthew Saltzman
School of Mathematical and Statistical Sciences
Clemson University
mjs AT clemson DOT edu