OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004858 [rrdtool] regular use crash always 2011-11-09 16:42 2011-11-09 17:50
Reporter duncs View Status public  
Assigned To dam
Priority normal Resolution no change required  
Status closed  
Summary 0004858: Fatal relocation error when using perl module RRDs.pm
Description Using stable repo: mirror=http://mirror.opencsw.org/opencsw/stable [^]

$ which perl
/opt/csw/bin/perl
$ perl -v
This is perl, v5.10.1 (csw-5.10.1*) built for i86pc-solaris-thread-multi
...
$ perldoc -l RRDs
/opt/csw/lib/perl/csw/RRDs.pm
$ perl -MRRDs -e 0
ld.so.1: perl: fatal: relocation error: file /opt/csw/lib/perl/csw/auto/RRDs/RRDs.so: symbol Perl_Tstack_sp_ptr: referenced symbol not found
Killed
Additional Information $ pkginfo -l CSWrrd
   PKGINST: CSWrrd
      NAME: rrdtool - Round Robin Database graphing tool
  CATEGORY: application
      ARCH: i386
   VERSION: 1.2.19,REV=2007.02.07
   BASEDIR: /
    VENDOR: http://oss.oetiker.ch/rrdtool/ [^] packaged for CSW by Ihsan Dogan
    PSTAMP: thor20070207101615
  INSTDATE: Nov 04 2011 19:12
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: ihsan@opencsw.org
    STATUS: completely installed
     FILES: 160 installed pathnames
                  13 shared pathnames
                  22 directories
                  16 executables
                6214 blocks used (approx)

$ pkginfo -l CSWperl
   PKGINST: CSWperl
      NAME: perl - A high-level, general-purpose programming language
  CATEGORY: application
      ARCH: i386
   VERSION: 5.10.1,REV=2011.01.15
   BASEDIR: /
    VENDOR: http://www.cpan.org/src [^] packaged for CSW by Peter Bonivart
    PSTAMP: bonivart@current9x-20110115111914
  INSTDATE: Oct 18 2011 13:35
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: bonivart@opencsw.org
    STATUS: completely installed
     FILES: 1833 installed pathnames
                   2 shared pathnames
                   4 linked files
                 253 directories
                  90 executables
               60679 blocks used (approx)



-bash-3.00$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
  Commit id: ab0b5ece15a2b3b779a9a6b4214c642b4999609d
  Platform:
    osname=solaris, osvers=2.9, archname=i86pc-solaris-thread-multi
    uname='sunos current9x 5.9 generic_122301-52 i86pc i386 i86pc'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -xO3 -m32 -xarch=386 -xnorunpath -I/opt/csw/bdb48/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-xO3 -m32 -xarch=386 -xnorunpath',
    cppflags='-D_REENTRANT -xO3 -m32 -xarch=386 -xnorunpath -I/opt/csw/bdb48/include -I/opt/csw/include'
    ccversion='Sun C 5.9 SunOS_i386 Patch 124868-15 2010/08/11', gccversion='', 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='/opt/SUNWspro/bin/cc', ldflags ='-m32 -xarch=386 -norunpath -L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/lib'
    libpth=/usr/lib /usr/ccs/lib /lib /opt/csw/lib
    libs=-lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc -lperl
    perllibs=-lsocket -lnsl -ldb-4.8 -ldl -lm -lpthread -lc -lperl
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.5.10.1
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /opt/csw/lib'
    cccdlflags='-KPIC', lddlflags='-G -L/opt/csw/lib -L/opt/csw/bdb48/lib -L/usr/lib -L/usr/ccs/lib -L/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
                        USE_SITECUSTOMIZE
  Built under solaris
  Compiled at Jan 5 2011 18:06:53
  @INC:
    /opt/csw/lib/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/share/perl/site_perl
    /opt/csw/lib/perl/csw
    /opt/csw/share/perl/csw
    /opt/csw/share/perl/csw
    /opt/csw/lib/perl/5.10.1
    /opt/csw/share/perl/5.10.1
    .
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009394)
dam (administrator)
2011-11-09 17:10

You are mixing releases: rrd is really old from stable whereas perl was taken from unstable. Please use the current pm_rrdtool 1.4.5 which has been compiled against Perl 5.10.1
(0009395)
duncs (reporter)
2011-11-09 17:18

May be due to using incorrect repo - stable is apparently dead, so switching to 'dublin' and trying again.

Ref: https://www.opencsw.org/get-it/releases/ [^]
(0009396)
duncs (reporter)
2011-11-09 17:48

Updated all packages from 'dublin' repo and problem is resolved:

$ perl -MRRDs -e 0
$


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker