[csw-users] symbol Perl_Gthr_key_ptr: referenced symbol not found after forced Perl downgrade

Wim Van Dijck wim.vandijck at sun.com
Wed May 12 15:44:04 CEST 2010


Very interesting!

This is the output I'm getting, I'm afraid this doesn't really point me 
to any other packages that could be the culprit though...:
#ldd -r  /opt/csw/lib/perl/csw/auto/GD/GD.so
         libXpm.so.4.11 =>        
/opt/csw/lib/sparcv8plus+vis/libXpm.so.4.11
         libX11.so.4 =>   /usr/lib/libX11.so.4
         libjpeg.so.62 =>         
/opt/csw/lib/sparcv8plus+vis2/libjpeg.so.62
         libfontconfig.so.1 =>    /opt/csw/lib/sparcv8/libfontconfig.so.1
         libfreetype.so.6 =>      /opt/csw/lib/sparcv8/libfreetype.so.6
         libpng12.so.0 =>         
/opt/csw/lib/sparcv8plus+vis2/libpng12.so.0
         libz.so =>       /opt/csw/lib/sparcv8plus+vis/libz.so
         libm.so.1 =>     /lib/libm.so.1
         libiconv.so.2 =>         /opt/csw/lib/sparcv8/libiconv.so.2
         libgd.so.2 =>    /opt/csw/lib/sparcv8plus+vis/libgd.so.2
         libX11.so.6 =>   /opt/csw/X11/lib/libX11.so.6
         libc.so.1 =>     /lib/libc.so.1
         libsocket.so.1 =>        /lib/libsocket.so.1
         libnsl.so.1 =>   /lib/libnsl.so.1
         libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
         libexpat.so.1 =>         /opt/csw/lib/sparcv8/libexpat.so.1
         libz.so.1 (SUNW_1.1) =>  (version not found)
         libxcb.so.1 =>   /opt/csw/X11/lib/libxcb.so.1
         libdl.so.1 =>    /lib/libdl.so.1
         libmp.so.2 =>    /lib/libmp.so.2
         libmd.so.1 =>    /lib/libmd.so.1
         libscf.so.1 =>   /lib/libscf.so.1
         libXau.so.6 =>   /opt/csw/X11/lib/libXau.so.6
         libXdmcp.so.6 =>         /opt/csw/X11/lib/libXdmcp.so.6
         libdoor.so.1 =>  /lib/libdoor.so.1
         libuutil.so.1 =>         /lib/libuutil.so.1
         libgen.so.1 =>   /lib/libgen.so.1
         symbol not found: Perl_croak_nocontext          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
         symbol not found: Perl_safesysfree              
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_safesysmalloc            
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Gthr_key_ptr             
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Tstack_sp_ptr            
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Tmarkstack_ptr_ptr               
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Tstack_base_ptr          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_croak            
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_2pv_flags             
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Top_ptr          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Tcurpad_ptr              
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_newmortal             
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_setnv         
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_mg_set           
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_2iv           
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_setiv         
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_setref_pv             
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_2io           
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: PerlIO_findFILE               
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_get_sv           
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_setpv         
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_derived_from          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_newSVpv          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_2mortal               
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Tstack_max_ptr           
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_stack_grow               
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_newSViv          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Isv_undef_ptr            
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_2nv           
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_push_scope               
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Ttmps_floor_ptr          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_save_int         
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Ttmps_ix_ptr             
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Tmarkstack_max_ptr               
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_markstack_grow           
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_call_method              
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_TSv_ptr          
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_free_tmps                
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_pop_scope                
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_isobject              
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_hv_fetch         
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_TXpv_ptr         
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_sv_2bool         
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_form             
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_newXS            
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         symbol not found: Perl_Isv_yes_ptr              
(/opt/csw/lib/perl/csw/auto/GD/GD.so)
         libm.so.2 =>     /lib/libm.so.2
         /platform/SUNW,Sun-Fire-V210/lib/libmd_psr.so.1


For completeness:
#perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
   Platform:
     osname=solaris, osvers=2.10, archname=sun4-solaris-64int
     uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
     config_args=''
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=define use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-xarch=v8 -D_TS_ERRNO',
     optimize='-xO3 -xspace -xildoff',
     cppflags=''
     ccversion='Sun WorkShop', gccversion='', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
     ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =''
     libpth=/lib /usr/lib /usr/ccs/lib
     libs=-lsocket -lnsl -ldl -lm -lc
     perllibs=-lsocket -lnsl -ldl -lm -lc
     libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R 
/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'
     cccdlflags='-KPIC', lddlflags='-G'


Characteristics of this binary (from libperl):
   Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
   Locally applied patches:
         22667 The optree builder was looping when constructing the ops ...
         22715 Upgrade to FileCache 1.04
         22733 Missing copyright in the README.
         22746 fix a coredump caused by rv2gv not fully converting a PV ...
         22755 Fix 29149 - another UTF8 cache bug hit by substr.
         22774 [perl #28938] split could leave an array without ...
         22775 [perl #29127] scalar delete of empty slice returned garbage
         22776 [perl #28986] perl -e "open m" crashes Perl
         22777 add test for change #22776 ("open m" crashes Perl)
         22778 add test for change #22746 ([perl #29102] Crash on assign ...
         22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...
         22796 [perl #29346] Double warning for int(undef) and 
abs(undef) ...
         22818 BOM-marked and (BOMless) UTF-16 scripts not working
         22823 [perl #29581] glob() misses a lot of matches
         22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 
cpu)
         22830 [perl #29637] Thread creation time is hypersensitive
         22831 improve hashing algorithm for ptr tables in perl_clone: ...
         22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
         22850 [PATCH] 'perl -v' fails if local_patches contains code 
snippets
         22852 TEST needs to ignore SCM files
         22886 Pod::Find should ignore SCM files and dirs
         22888 Remove redundant %SIG assignments from FileCache
         23006 [perl #30509] use encoding and "eq" cause memory leak
         23074 Segfault using HTML::Entities
         23106 Numeric comparison operators mustn't compare addresses of ...
         23320 [perl #30066] Memory leak in nested shared data 
structures ...
         23321 [perl #31459] Bug in read()
         27722 perlio.c breaks on Solaris/gcc when > 256 FDs are available
         SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
         6663288 Upgrade to CGI.pm 3.33
         REGEXP0 - fix for UTF-8 recoding in regexps - CVE-2007-5116
         6758953 Perl Sys::Syslog can log messages with wrong severity
   Built under solaris
   Compiled at May 18 2009 02:52:06
   @INC:
     /usr/perl5/5.8.4/lib/sun4-solaris-64int
     /usr/perl5/5.8.4/lib
     /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
     /usr/perl5/site_perl/5.8.4
     /usr/perl5/site_perl
     /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
     /usr/perl5/vendor_perl/5.8.4
     /usr/perl5/vendor_perl

-- 
Wim Van Dijck
FODFin IAM support
Sun Microsystems


On 12/05/10 15:20, Dagobert Michelsen wrote:
> Hi Wim,
>
> Am 12.05.2010 um 15:05 schrieb Wim Van Dijck:
>> aha. thanks! I would gladly do that. Forgive my ignorance, but how do 
>> I look at the dependencies? I've never been able to figure that 
>> out... :-/
>
> You look at the program and .so-files and see what they require with
>  dump -Lv <file>
> and see if all symbols resolve with
>  ldd -r <file>
> There should be no errors. If there are errors you are on a good path to
> solve the error :-) BTW, I would really appreciate if you could test the
> package from Jürgen as it helps getting it released.
>
>
> Best regards
>
>  -- Dago



More information about the users mailing list