Running Mkbootstrap for Geo::IP () chmod 644 IP.bs rm -f blib/arch/auto/Geo/IP/IP.so x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 IP.o -o blib/arch/auto/Geo/IP/IP.so \ -lGeoIP \ /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a(GeoIP.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Geo/IP/IP.so] Error 1 !!! ERROR: dev-perl/Geo-IP-1.25 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called perl-module_src_compile perl-module.eclass, line 130: Called die !!! compilation failed !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64) ================================================================= System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 acl apache2 authdaemond avi bash-completion berkdb bitmap-fonts bzip2 c++ caps cli crypt cscope curl dba doc dri eds emacs emboss encode erandom expat fam foomaticdb ftp gb gd ggi gif gstreamer gtk2 imap innodb ipv6 isdnlog ithreads jpeg leim lzw lzw-tiff maildir mmap mp3 mpeg mpi nas ncurses nls nptl objc opengl pam pcre pdflib perl pic png postgres pppd python qt3 qt4 quicktime readline reflection sasl session snmp spell spl ssl tcpd tetex threads tiff truetype-fonts type1-fonts unicode usb utf8 vhosts xfs xml xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Can you try Geo-IP-1.27? Otherwise, I would try installing geoip again (the dep for Geo-IP) - I just installed both fresh without issue. usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/Geo/IP/IP.so >>> Merging dev-perl/Geo-IP-1.27 to / --- /usr/ --- /usr/lib64/ --- /usr/lib64/perl5/ --- /usr/lib64/perl5/vendor_perl/ --- /usr/lib64/perl5/vendor_perl/5.8.8/ --- /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/ --- /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/ >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/Geo/ >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/Geo/IP/ >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/Geo/IP/IP.so >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/Geo/IP/IP.bs >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/Geo/IP/.packlist >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Geo/ >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Geo/Mirror.pm >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Geo/IP.pm >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Geo/IP/ >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Geo/IP/Record.pod >>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Geo/IP/Record.pm --- /usr/lib64/perl5/5.8.8/ --- /usr/lib64/perl5/5.8.8/x86_64-linux/ --- /usr/share/ --- /usr/share/doc/ >>> /usr/share/doc/Geo-IP-1.27/ >>> /usr/share/doc/Geo-IP-1.27/Changes.gz >>> /usr/share/doc/Geo-IP-1.27/MANIFEST.gz >>> /usr/share/doc/Geo-IP-1.27/README.gz
The same problem with Geo-IP-1.27. Recompiling geoip did not help. I upgraded gcc and glibc to the latest version (3.4.6) and recompiled geoip and Geo-IP again, but it didn't help either. :-(
I could solve this problem by upgrading geoip to 1.3.14!
this IS a bug in dev-libs/geoip-1.3.12.ebuild Just as it is in the dev-libs/geoip-1.3.14.ebuild: * 'append-flags -fPIC' should be added before the econf call to src_compile(). * 'inherit flag-o-matic' should be added for the previous to work. (The component of this bug should be changed to Ebuild)
netmon folks, Can you confirm this is more a bug with dev-libs/geoip? Thanks!
yup, fixed with recent versions :)