geoip-python, both 0.2.0 and 1.2.1, spits out the following error (with or without -fPIC in CFLAGS): x86_64-pc-linux-gnu-gcc -pthread -shared -O2 -march=k8 -pipe -msse3 build/temp.linux-x86_64-2.4/py_GeoIP.o -L/usr/local/lib -lGeoIP -o build/lib.linux-x86_64-2.4/GeoIP.so /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../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.4/../../../../lib64/libGeoIP.a: could not read symbols: Bad value emerge info: Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 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="-O2 -march=k8 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ http://ftp.rhnet.is/pub/gentoo/" LC_ALL="en_US.utf8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.2.25/gentoo-portage" USE="amd64 X alsa audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl eds emboss encode exif expat fam flac foomaticdb fortran geoip gif gimp gimpprint glut gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jpeg kde lcms logrotate lzw lzw-tiff mng mp3 mpeg ncurses nls nsplugin ogg opengl pam pcre pdflib perl png python qt quicktime readline real scanner sdl spell ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wma xml2 xpm xprint xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 123546 ***
Reopening this, the problem is with a different package than bug 123546. Error is still present, synced about 15 minutes ago.
What's different? It's exactly the same problem. Emerge >=dev-libs/geoip-1.3.13, then emerge geoip-python. Reopen if that doesn't work.
sorry, didn't realize that the problem was actually in dev-libs/geoip.