Gentoo Archives: gentoo-hardened

From: "P.V.Anthony" <pvantony@×××××××××××.sg>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] problem with Apache2::Request
Date: Thu, 02 Oct 2008 23:07:58
Message-Id: 48E55446.4020401@singnet.com.sg
1 Hi,
2
3 Currently just not able to get Apache2::Request to work on Gentoo
4 hardened amd64.
5
6 Did an emerge of www-apache/libapreq2-2.08-r2 and all compiled fine.
7
8 Did the following test using a simple perl script as follows,
9
10 perl test.pl
11
12 The contents of test.pl is as follows.
13
14 ----------- start ------------------
15
16 use strict;
17
18 use Apache2::Request;
19
20 ------------ end -------------------
21
22
23
24 Got the following error,
25
26 ------------ start ----------------------
27
28 Can't load
29 '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/
30 Request/Apache2/Apache2.so'
31 for module APR::Request::Apache2: /usr/lib64/perl5/s
32
33 ite_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so:
34 un defined symbol:
35 modperl_xs_sv2request_rec at /usr/lib64/perl5/5.8.8/x86_64-linux
36 -thread-multi/DynaLoader.pm line 230.
37 at
38 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache2/Request.p
39 m line 3
40 Compilation failed in require at
41 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-t
42 hread-multi/Apache2/Request.pm line 3.
43 BEGIN failed--compilation aborted at
44 /usr/lib64/perl5/site_perl/5.8.8/x86_64-lin
45 ux-thread-multi/Apache2/Request.pm line 3.
46 Compilation failed in require at test.pl line 3.
47 BEGIN failed--compilation aborted at test.pl line 3.
48
49 -------------- end ----------------------
50
51 Next tried the same on a not hardened machine, all compiled fine and the
52 test.pl also worked without any error.
53
54 What am I doing wrong?
55
56 P.V.Anthony
57
58
59 !DSPAM:6,48e45106166231820821003!

Replies

Subject Author
Re: [gentoo-hardened] [Solved but]problem with Apache2::Request "P.V.Anthony" <pvantony@×××××××××××.sg>