Gentoo Archives: gentoo-amd64

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