Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200308 - dev-perl/Geo-IP-1.28: error of awstats geoip pluggin on x86 platform
Summary: dev-perl/Geo-IP-1.28: error of awstats geoip pluggin on x86 platform
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-25 18:39 UTC by Clemente Aguiar
Modified: 2007-11-26 08:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemente Aguiar 2007-11-25 18:39:39 UTC
I use Geo-IP plugging with Awstats on two different platforms (x86 and AMD64)
When running awstats on the x86 platform such as:

/usr/share/webapps/awstats/6.7/hostroot/cgi-bin/awstats.pl -config=www.mysite.com -update

I get the following error:
Error: Plugin load for plugin 'geoip' failed with return code: Error:
Can't load '/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Geo/IP/IP.so' for module Geo::IP: /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Geo/IP/IP.so: undefined symbol: GeoIP_region_name_by_code at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230.
 at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Geo/IP.pm line 11
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Geo/IP.pm line 11.
Compilation failed in require at (eval 1) line 1.
Can't locate Geo/IP/PurePerl.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl . /usr/share/webapps/awstats/6.7/hostroot/cgi-bin/lib /usr/share/webapps/awstats/6.7/hostroot/cgi-bin/plugins) at (eval 3) line 1.
Error: Need Perl module Geo::IP or Geo::IP::PurePerl
Setup ('/etc/awstats/awstats.www.mysite.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

I only get this error with Geo-IP version 1.2.8 and only on the x86 platform. I DO NOT get the error with Geo-IP aof any version when using the AMD64 platform.

Also I don't get the error on the x86 platform if I use Geo-IP version 1.2.7.

Please help.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-25 19:30:34 UTC
emerge --info please...
Comment 2 Clemente Aguiar 2007-11-26 08:30:31 UTC
Portage 2.1.3.19 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.20-hardened-r10 i686)
=================================================================
System uname: 2.6.20-hardened-r10 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Timestamp of tree: Mon, 26 Nov 2007 03:00:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en pt"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 berkdb bzip2 caps cracklib crypt gd geoip hardened jpeg logrotate midi mysql ncurses nls nptl nptlonly pam pic png readline ssl tcpd threads truetype urandom vhosts x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY