Hi, I tried but still gives
perl -MApache2::Request -e 1 Can't load '/usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so' for module APR::Request::Apache2: /usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so: undefined symbol: apreq_handle_apache2 at /usr/lib64/perl5/DynaLoader.pm line 193. at /usr/local/lib64/perl5/5.32/Apache2/Request.pm line 3. Compilation failed in require at /usr/local/lib64/perl5/5.32/Apache2/Request.pm line 3. BEGIN failed--compilation aborted at /usr/local/lib64/perl5/5.32/Apache2/Request.pm line 3. Compilation failed in require. BEGIN failed--compilation aborted. I think I have used that on Centos 7 or 8. This is first time I use AlmaLinux 9.1 Terveisin/Regards Scott Alexander Asiantuntija, järjestelmät Systems Specialist Humak Humanistinen ammattikorkeakoulu University of Applied Sciences www.humak.fi<http://www.humak.fi/> Tel. +358 (0)50 411 9556 scott.alexan...@humak.fi<mailto:scott.alexan...@humak.fi> ________________________________ From: Neil Bowers <ne...@neilb.org> Sent: 21 June 2023 12:01 To: Scott Alexander <scott.alexan...@humak.fi> Subject: Re: undefined symbol: apreq_handle_apache2 problem Hi Scott, Try running `ldconfig` and see if that helps? I remember hitting something like this, and having to run ldconfig to sort it. Good luck! Neil On 21 Jun 2023 at 07:52 +0100, Scott Alexander <scott.alexan...@humak.fi>, wrote: Hi, How to fix this error? ldd -r /usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so linux-vdso.so.1 (0x00007fff651f9000) libapr-1.so.0 => /lib64/libapr-1.so.0 (0x00007f212560b000) libperl.so.5.32 => /lib64/libperl.so.5.32 (0x00007f212527c000) libc.so.6 => /lib64/libc.so.6 (0x00007f2125073000) libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f212506a000) libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007f2125030000) libm.so.6 => /lib64/libm.so.6 (0x00007f2124f53000) /lib64/ld-linux-x86-64.so.2 (0x00007f212565b000) undefined symbol: apreq_handle_apache2 (/usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so) undefined symbol: modperl_xs_sv2request_rec (/usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so) AlmaLinux release 9.1 (Lime Lynx) perl -v This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-thread-multi Calling a page thru the browser I get in ssl_error_log Can't locate object method "new" via package "Apache2::Request" (perhaps you forgot to load "Apache2::Request"?) at I assume it's because of perl 5.32 Terveisin/Regards Scott Alexander Asiantuntija, järjestelmät Systems Specialist Humak Humanistinen ammattikorkeakoulu University of Applied Sciences www.humak.fi<http://www.humak.fi/> Tel. +358 (0)50 411 9556 scott.alexan...@humak.fi<mailto:scott.alexan...@humak.fi>