[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    =?utf-8?B?UmU6IHVuZGVmaW5lZCBzeW1ib2w6IGFwcmVxX2hhbmRsZV9hcGFjaGUy4oCC?=
From:       Scott Alexander <Scott.Alexander () humak ! fi>
Date:       2023-06-21 9:46:57
Message-ID: HE1PR03MB29387578D0DCF5319FA1142D9C5DA () HE1PR03MB2938 ! eurprd03 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

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.alexander@humak.fi<mailto:scott.alexander@humak.fi>
________________________________
From: Neil Bowers <neilb@neilb.org>
Sent: 21 June 2023 12:01
To: Scott Alexander <Scott.Alexander@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.Alexander@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.alexander@humak.fi<mailto:scott.alexander@humak.fi>


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);" class="elementToProof"> Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);" class="elementToProof"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);" class="elementToProof"> I tried but still gives <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);" class="elementToProof"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);" class="elementToProof ContentPasted0"> perl -MApache2::Request \
-e 1 <div class="ContentPasted0">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.</div>
<div class="ContentPasted0">&nbsp;at /usr/local/lib64/perl5/5.32/Apache2/Request.pm \
line 3.</div> <div class="ContentPasted0">Compilation failed in require at \
/usr/local/lib64/perl5/5.32/Apache2/Request.pm line 3.</div> <div \
class="ContentPasted0">BEGIN failed--compilation aborted at \
/usr/local/lib64/perl5/5.32/Apache2/Request.pm line 3.</div> <div \
class="ContentPasted0">Compilation failed in require.</div> <div \
class="ContentPasted0">BEGIN failed--compilation aborted.</div> </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);" class="elementToProof ContentPasted0"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);" class="elementToProof ContentPasted0"> I think I have used that \
on Centos 7 or 8. This is first time I use AlmaLinux 9.1<br> </div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> <br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: \
Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0); background-color: \
rgb(255, 255, 255);"> <div name="divtagdefaultwrapper" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"> <font \
style="color: black;" size="2" face="Calibri,sans-serif"><span \
style="font-size:14px"> <div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span \
lang="en-US">Terveisin/Regards</span></span></font></div> <div style="margin:0"><font \
size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><span \
lang="en-US"><b>&nbsp;</b></span></span></font></div> <div style="margin:0"><font \
size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><span \
lang="en-US"><b>Scott Alexander</b></span></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span lang="en-US">Asiantuntija, \
järjestelmät&nbsp;</span><font size="2"><span style="font-size:9pt" lang="en-US"> \
<span id="ms-rterangepaste-start"></span><span style="font-size: 11pt; font-family: \
&quot;Calibri&quot;, sans-serif; color: rgb(31, 73, 125);" lang="EN-US">Systems \
Specialist</span><span id="ms-rterangepaste-end"></span><font style="color: black;" \
size="2" face="Calibri,sans-serif"><span style="font-size:14px"><font size="2" \
face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2"><span \
style="font-size:9pt" \
lang="en-US"></span></font></span></font></span></font></span></font></span></font></div>
 <div style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span lang="en-US">&nbsp;</span></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span lang="en-US">Humak</span></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><font size="2"><span style="font-size:9pt" \
lang="en-US">Humanistinen ammattikorkeakoulu</span></font></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><font size="2"><span style="font-size:9pt" \
lang="en-US">University of Applied Sciences</span></font></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><a target="_blank" href="http://www.humak.fi/" tabindex="0" \
data-loopstyle="linkonly"><font size="2"><span style="font-size:9pt" \
lang="en-US">www.humak.fi</span></font></a></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><font size="2"><span style="font-size:9pt" \
lang="en-US">&nbsp;</span></font></span></font></div> <div style="margin:0"><font \
size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2"><span \
style="font-size:9pt" lang="en-US">Tel. +358 (0)50 411 9556<br> <br>
</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><a target="_blank" href="mailto:scott.alexander@humak.fi" \
tabindex="0" data-loopstyle="linkonly"><font size="2"><span \
style="font-size:9pt">scott.alexander@humak.fi</span></font></a></span></font></div> \
</div> </span></font></div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" \
style="font-size:11pt" color="#000000"><b>From:</b> Neil Bowers \
&lt;neilb@neilb.org&gt;<br> <b>Sent:</b> 21 June 2023 12:01<br>
<b>To:</b> Scott Alexander &lt;Scott.Alexander@humak.fi&gt;<br>
<b>Subject:</b> Re: undefined symbol: apreq_handle_apache2   problem</font>
<div>&nbsp;</div>
</div>
<div>
<div name="x_messageBodySection">
<div dir="auto">Hi Scott,<br>
<br>
Try running `ldconfig` and see if that helps? I remember hitting something like this, \
and having to run ldconfig to sort it.<br> <br>
Good luck!<br>
<br>
Neil<br>
</div>
</div>
<div name="x_messageReplySection">On 21 Jun 2023 at 07:52 +0100, Scott Alexander \
&lt;Scott.Alexander@humak.fi&gt;, wrote:<br> <blockquote type="cite" \
style="border-left-color:grey; border-left-width:thin; border-left-style:solid; \
margin:5px 5px; padding-left:10px"> <div class="x_elementToProof" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Hi,</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; \
font-size:12pt; color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; \
font-size:12pt; color:rgb(0,0,0)"> How to fix this error?</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; \
font-size:12pt; color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof x_ContentPasted0" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> ldd -r \
/usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so <div \
class="x_ContentPasted0">      linux-vdso.so.1 (0x00007fff651f9000)</div> \
<div class="x_ContentPasted0">      libapr-1.so.0 =&gt; \
/lib64/libapr-1.so.0 (0x00007f212560b000)</div> <div \
class="x_ContentPasted0">      libperl.so.5.32 =&gt; \
/lib64/libperl.so.5.32 (0x00007f212527c000)</div> <div \
class="x_ContentPasted0">      libc.so.6 =&gt; /lib64/libc.so.6 \
(0x00007f2125073000)</div> <div \
class="x_ContentPasted0">      libuuid.so.1 =&gt; /lib64/libuuid.so.1 \
(0x00007f212506a000)</div> <div \
class="x_ContentPasted0">      libcrypt.so.2 =&gt; /lib64/libcrypt.so.2 \
(0x00007f2125030000)</div> <div class="x_ContentPasted0">      libm.so.6 \
=&gt; /lib64/libm.so.6 (0x00007f2124f53000)</div> <div \
class="x_ContentPasted0">      /lib64/ld-linux-x86-64.so.2 \
(0x00007f212565b000)</div> <div class="x_ContentPasted0">undefined symbol: \
apreq_handle_apache2    (/usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so)</div>
 undefined symbol: modperl_xs_sv2request_rec     (/usr/local/lib64/perl5/5.32/auto/APR/Request/Apache2/Apache2.so)</div>
 <div class="x_elementToProof x_ContentPasted0" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> AlmaLinux release 9.1 (Lime Lynx)</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1 x_ContentPasted2" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> perl -v
<div><br class="x_ContentPasted2">
</div>
<div class="x_ContentPasted2">This is perl 5, version 32, subversion 1 (v5.32.1) \
built for x86_64-linux-thread-multi</div> </div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1 x_ContentPasted2" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1 x_ContentPasted2" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Calling a page thru the browser I get in ssl_error_log</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1 x_ContentPasted2" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1 x_ContentPasted2 \
x_ContentPasted3" style="font-family:Calibri,Arial,Helvetica,sans-serif; \
font-size:12pt; color:rgb(0,0,0)"> Can't locate object method &quot;new&quot; via \
package &quot;Apache2::Request&quot; (perhaps you forgot to load \
&quot;Apache2::Request&quot;?) at</div> <div class="x_elementToProof x_ContentPasted0 \
x_ContentPasted1 x_ContentPasted2 x_ContentPasted3" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1 x_ContentPasted2 \
x_ContentPasted3" style="font-family:Calibri,Arial,Helvetica,sans-serif; \
font-size:12pt; color:rgb(0,0,0)"> I assume it's because of perl 5.32<br>
</div>
<div class="x_elementToProof">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> <br>
</div>
<div id="x_Signature">
<div>
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; \
font-family:Calibri,Arial,Helvetica,sans-serif; color:rgb(0,0,0); \
background-color:rgb(255,255,255)"> <div name="x_divtagdefaultwrapper" \
style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0"> <font \
size="2" face="Calibri,sans-serif" style="color:black"><span \
style="font-size:14px"></span></font> <div><font size="2" face="Calibri,sans-serif" \
style="color:black"><span style="font-size:14px"></span></font> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif" style="color:black"><span \
style="font-size:14px"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span \
lang="en-US">Terveisin/Regards</span></span></font></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span lang="en-US"><b>&nbsp;</b></span></span></font></div> \
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span lang="en-US"><b>Scott \
Alexander</b></span></span></font></div> <div style="margin:0"><font size="2" \
face="Calibri,sans-serif"><span style="font-size:11pt"><span \
lang="en-US">Asiantuntija, järjestelmät&nbsp;</span> <font size="2"><span \
lang="en-US" style="font-size:9pt"><span id="x_ms-rterangepaste-start"></span><span \
lang="EN-US" style="font-size:11pt; font-family:&quot;Calibri&quot;,sans-serif; \
color:rgb(31,73,125)">Systems Specialist</span><span \
id="x_ms-rterangepaste-end"></span><font size="2" face="Calibri,sans-serif" \
style="color:black"><span style="font-size:14px"><font size="2" \
face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2"><span \
lang="en-US" style="font-size:9pt"></span></font></span></font></span></font></span></font></span></font></div>
 <div style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span lang="en-US">&nbsp;</span></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><span lang="en-US">Humak</span></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><font size="2"><span lang="en-US" \
style="font-size:9pt">Humanistinen \
ammattikorkeakoulu</span></font></span></font></div> <div style="margin:0"><font \
size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2"><span \
lang="en-US" style="font-size:9pt">University of Applied \
Sciences</span></font></span></font></div> <div style="margin:0"><font size="2" \
face="Calibri,sans-serif"><span style="font-size:11pt"><a target="_blank" \
href="http://www.humak.fi/" tabindex="0"><font size="2"><span lang="en-US" \
style="font-size:9pt">www.humak.fi</span></font></a></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><font size="2"><span lang="en-US" \
style="font-size:9pt">&nbsp;</span></font></span></font></div> <div \
style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><font size="2"><span lang="en-US" style="font-size:9pt">Tel. \
+358 (0)50 411 9556<br> <br>
</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span \
style="font-size:11pt"><a target="_blank" href="mailto:scott.alexander@humak.fi" \
tabindex="0"><font size="2"><span \
style="font-size:9pt">scott.alexander@humak.fi</span></font></a></span></font></div> \
</div> </div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic