Gentoo Archives: gentoo-user

From: Leandro Melo de Sales <leandroal@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Perl Geo-IP
Date: Sun, 04 Jun 2006 20:23:26
Message-Id: 5bc4c4570606041313l1c85fbd9jc30997a5bab88a54@mail.gmail.com
1 Hi
2 I'm trying to compile dev-perl/Geo-IP and I got the following message:
3
4 >>> Source unpacked.
5 * Using ExtUtils::MakeMaker
6 Checking if your kit is complete...
7 Looks good
8 Unrecognized argument in LIBS ignored: ''-L/usr/lib64''
9 Writing Makefile for Geo::IP
10 cp lib/Geo/Mirror.pm blib/lib/Geo/Mirror.pm
11 cp lib/Geo/IP/Record.pod blib/lib/Geo/IP/Record.pod
12 cp lib/Geo/IP/Record.pm blib/lib/Geo/IP/Record.pm
13 cp lib/Geo/IP.pm blib/lib/Geo/IP.pm
14 /usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp -typemap
15 /usr/lib64/perl5/5.8.8/ExtUtils/typemap -typemap typemap IP.xs >
16 IP.xsc && mv IP.xsc IP.c
17 x86_64-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe
18 -Wdeclaration-after-statement -D_LARGEFILE_SOURCE
19 -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe -DVERSION=\"1.27\"
20 -DXS_VERSION=\"1.27\" -fPIC
21 "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" IP.c
22 Running Mkbootstrap for Geo::IP ()
23 chmod 644 IP.bs
24 rm -f blib/arch/auto/Geo/IP/IP.so
25 x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 IP.o -o
26 blib/arch/auto/Geo/IP/IP.so \
27 -lGeoIP \
28
29 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
30 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a(GeoIP.o):
31 relocation R_X86_64_32 against `a local symbol' can not be used when
32 making a shared object; recompile with -fPIC
33 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a:
34 could not read symbols: Bad value
35 collect2: ld returned 1 exit status
36 make: *** [blib/arch/auto/Geo/IP/IP.so] Error 1
37
38 !!! ERROR: dev-perl/Geo-IP-1.27 failed.
39 !!! Function perl-module_src_compile, Line 121, Exitcode 2
40
41
42 What's up?
43
44 Thank u,
45
46 Leandro.
47 --
48 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Perl Geo-IP Matthew Cline <matthew.cline@×××××.com>