Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359015 - dev-lang/perl-5.12.2 Can't load '/usr/lib/perl5/5.12.2/i686-linux/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/lib/perl5/5.12.2/i686-linux/auto/Fcntl/Fcntl.so: undefined symbol: PL_unitcheckav at /usr/lib/perl5/5.12.2/XSLoader.pm line 70.
Summary: dev-lang/perl-5.12.2 Can't load '/usr/lib/perl5/5.12.2/i686-linux/auto/Fcntl/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 13:12 UTC by e.akmuradov
Modified: 2013-06-25 21:08 UTC (History)
1 user (show)

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


Attachments
freeradius config files (raddb.tar,440.00 KB, application/octet-stream)
2011-03-15 13:17 UTC, e.akmuradov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description e.akmuradov 2011-03-15 13:12:14 UTC
Can't load '/usr/lib/perl5/5.12.2/i686-linux/auto/Fcntl/Fcntl.so' for module Fcntl: /usr/lib/perl5/5.12.2/i686-linux/auto/Fcntl/Fcntl.so: undefined symbol: PL_unitcheckav at /usr/lib/perl5/5.12.2/XSLoader.pm line 70.
 at /usr/lib/perl5/5.12.2/i686-linux/Fcntl.pm line 215
BEGIN failed--compilation aborted at /usr/lib/perl5/5.12.2/i686-linux/Fcntl.pm line 216.
Compilation failed in require at /usr/lib/perl5/5.12.2/i686-linux/POSIX.pm line 19.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.12.2/i686-linux/POSIX.pm line 19.
Compilation failed in require at /usr/abills/libexec/config.pl line 155.
BEGIN failed--compilation aborted at /usr/abills/libexec/config.pl line 155.
Compilation failed in require at /usr/abills/libexec/rlm_perl.pl line 34.
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_preprocess
 Module: Instantiating preprocess

error is reported while loading radiusd -X with rlm_perl from abills. also i had find next related information https://svn.kvirc.de/kvirc/ticket/1068

hope it helps


Reproducible: Always

Steps to Reproduce:
1.if u have freeradius downlad raddb.tar & abills.tar
2. unpack raddb to /etc  & abills to /usr
3.run radiusd -X 
4. hope it helps
Actual Results:  
error

Expected Results:  
works fine
Comment 1 e.akmuradov 2011-03-15 13:17:46 UTC
Created attachment 265955 [details]
freeradius config files

the freeradius configuration file i use to reproduce bug.
Comment 2 e.akmuradov 2011-03-15 13:18:12 UTC
emerge --info
Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 15 Mar 2011 12:30:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r2, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 berkdb bzip2 cairo cli cracklib crypt cups cxx dbus dri flac fortran gd gdbm gpm gtk iconv icu ipv6 lame mad modules mpeg mudflap mysql ncurses nls nptl nptlonly nspluginwrapper ogg opengl openmp pam pcre perl php png postgres pppd python radius readline session sqlite ssl sysfs taglib tcpd threads truetype unicode vorbis x86 xml 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 e.akmuradov 2011-03-15 13:19:10 UTC
http://www.sendspace.com/file/os9rgs abills.tar to /usr
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-15 19:27:24 UTC
(In reply to comment #3)
> http://www.sendspace.com/file/os9rgs abills.tar to /usr

Please attach files / tarballs instead of linking. Also, describe exactly what the attached tarballs contain.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-15 20:30:07 UTC
Comment on attachment 265955 [details]
freeradius config files

What is this? Why is it attached?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-15 20:32:03 UTC
(In reply to comment #5)
> Comment on attachment 265955 [details]
> freeradius config files
> 
> What is this? Why is it attached?

More accurately, where did that come from?

Also, did you run perl-cleaner after upgrading perl? Looks like you didn't.
Comment 7 e.akmuradov 2011-03-16 00:12:51 UTC
1. raddb is freeradius configs that i'm using. the tuned to call rlm_perl for AAA
2. abills is the actual software that i want to setup. it contain rlm_perl by itself. it is a billing system. further reading is at abills.net.ua 
3. i did run perl-cleaner --reallyall
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2011-03-16 05:14:25 UTC
please add `perl -V` too
Comment 9 e.akmuradov 2011-03-16 10:27:57 UTC
 perl -V
Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.36-gentoo-r5, archname=i686-linux
    uname='linux drone 2.6.36-gentoo-r5 #8 smp wed mar 9 16:55:51 eet 2011 i686 intel(r) pentium(r) 4 cpu 2.60ghz genuineintel gnulinux '
    config_args='-des -Duseshrplib -Darchname=i686-linux -Dcc=i686-pc-linux-gnu-gcc -Doptimize=-O2 -march=native -fomit-frame-pointer -pipe -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr -Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin -Dprivlib=/usr/lib/perl5/5.12.2 -Darchlib=/usr/lib/perl5/5.12.2/i686-linux -Dsitelib=/usr/lib/perl5/site_perl/5.12.2 -Dsitearch=/usr/lib/perl5/site_perl/5.12.2/i686-linux -Dvendorlib=/usr/lib/perl5/vendor_perl/5.12.2 -Dvendorarch=/usr/lib/perl5/vendor_perl/5.12.2/i686-linux -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3 -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.12.2 -Dlocincpth=  -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm -Di_ndbm -Di_gdbm -Di_db -DDEBUGGING=none -Dinc_version_list=5.12.1/i686-linux 5.12.1 5.12.0/i686-linux 5.12.0 '
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='i686-pc-linux-gnu-gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -march=native -fomit-frame-pointer -pipe',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.4.4', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='i686-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.11.2.so, so=so, useshrplib=true, libperl=libperl.so.5.12.2
    gnulibc_version='2.11.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -march=native -fomit-frame-pointer -pipe -L/usr/local/lib -Wl,-O1 -Wl,--as-needed'


Characteristics of this binary (from libperl): 
  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
                        USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
  Locally applied patches:
        0001-gentoo_MakeMaker-RUNPATH.diff
        0002-gentoo_config_over.diff
        0003-gentoo_cpan_definstalldirs.diff
        0004-gentoo_cpanplus_definstalldirs.diff
        0005-gentoo_create-libperl-soname.diff
        0006-gentoo_MakeMaker-delete_packlist.diff
        0007-fixes_8d66b3f9_h2hp_fix.diff
        0008-fixes_f178b03b_h2ph_using_deprecated_goto.diff
        0009-gentoo_mod-paths.diff
        0010-gentoo_enc2xs.diff
        0011-gentoo_IO-Compress_AutoLoader_dropped_from_Compress-Zlib.diff
        0012-fixes_84601d63_CGI-3.50.diff
        0013-fixes_2a1594f6_CGI-3.51.diff
        0014-gentoo_drop-fstack-protector.diff
  Built under linux
  Compiled at Mar 15 2011 15:52:42
  @INC:
    /etc/perl
    /usr/lib/perl5/site_perl/5.12.2/i686-linux
    /usr/lib/perl5/site_perl/5.12.2
    /usr/lib/perl5/vendor_perl/5.12.2/i686-linux
    /usr/lib/perl5/vendor_perl/5.12.2
    /usr/lib/perl5/5.12.2/i686-linux
    /usr/lib/perl5/5.12.2
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl
    /usr/local/lib/site_perl
Comment 10 Paul Wollner 2011-06-16 22:14:46 UTC
Try start radius like this:

LD_PRELOAD=/usr/lib/libperl.so /usr/sbin/radiusd
Comment 11 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-06-25 21:08:52 UTC
5.12.2 was removed from the tree. And i can't reproduce this on new perl versions. Closed.