perl version failures (fwd)

Jude DaShiell jdashiel at panix.com
Thu Jul 2 15:36:00 UTC 2015



-- 


---------- Forwarded message ----------
Date: Thu, 2 Jul 2015 11:22:51
From: Shlomi Fish <shlomif at shlomifish.org>
To: Jude DaShiell <jdashiel at panix.com>
Subject: Re: perl version failures

Please reply to the list, Jude.

Regards,

 	Shlomi Fish

On Thu, 2 Jul 2015 11:13:22 -0400 (EDT)
Jude DaShiell <jdashiel at panix.com> wrote:

> That perl -V command showed no locations of List/Util.pm or Encode.pm.
> Fortunately, locate returned some locations.
>
> Script started on Thu 02 Jul 2015 11:09:47 AM EDT
> The Moon is Full
> Time: 11:09:47 AM
>   Date: Thursday July 2 2015
>   Week: 26
>   Day Of Year: 183
> Astrolog 5.40 chart for Thu Jul  2, 2015 11:09am (ST -4:00 GMT)  76:02W 38:01N
> Body  Locat. Ret. Lati. Rul.      House  Rul. Veloc.    Placidus Houses.
>
> Sun : 10Can26   - 0:00' (-) [10th house] [-] +0.953  -  House cusp  1: 15Vir10
> Moon: 17Cap24   + 4:53' (F) [ 5th house] [-] ______  -  House cusp  2: 10Lib26
> Merc: 20Gem03   - 1:57' (R) [10th house] [-] +1.437  -  House cusp  3: 10Sco10
> Venu: 22Leo29   + 0:21' (-) [12th house] [e] +0.649  -  House cusp  4: 13Sag10
> Mars:  5Can25   + 0:46' (d) [10th house] [e] +0.669  -  House cusp  5: 16Cap37
> Jupi: 21Leo48   + 0:52' (-) [12th house] [R] +0.188  -  House cusp  6: 17Aqu41
> Satu: 28Sco56 R + 2:06' (-) [ 3rd house] [-] -0.046  -  House cusp  7: 15Pis10
> Uran: 20Ari18   - 0:38' (-) [ 8th house] [e] +0.019  -  House cusp  8: 10Ari26
> Nept:  9Pis42 R - 0:48' (R) [ 6th house] [F] -0.011  -  House cusp  9: 10Tau10
> Plut: 14Cap19 R + 2:00' (-) [ 4th house] [-] -0.025  -  House cusp 10: 13Gem10
> Chir: 22Pis08 R + 4:36' (R) [ 7th house] [-] -0.007  -  House cusp 11: 16Can37
> Cere:  7Aqu43 R - 9:22' (-) [ 5th house] [-] -0.162  -  House cusp 12: 17Leo41
> Pall: 18Sag51 R +47:42' (-) [ 4th house] [d] -0.239
> Juno:  2Vir40   - 0:26' (-) [12th house] [-] +0.356     Car Fix Mut TOT   +:11
> Vest: 12Ari25   - 6:53' (-) [ 8th house] [R] +0.275  Fir  3   2   1   6   -:11
> Node:  5Lib16 R + 0:00' (-) [ 1st house] [-] ______  Ear  2   0   3   5   M:12
> S.No:  5Ari16 R + 0:00' (-) [ 7th house] [-] ______  Air  1   2   2   5   N: 8
> Fort: 22Pis08   _______ (R) [ 7th house] [-] ______  Wat  2   1   3   6   A: 9
> Vert: 19Aqu11   _______ (-) [ 6th house] [d] ______  TOT  8   5   9  22   D:11
> East: 10Vir14   _______ (-) [12th house] [-] ______                       <:12
> [jude at athame1 ~]$ perl -V
> Summary of my perl5 (revision 5 version 22 subversion 0) configuration:
>
>    Platform:
>      osname=linux, osvers=4.0.4-2-arch, archname=x86_64-linux-thread-multi
>      uname='linux flo-64 4.0.4-2-arch #1 smp preempt fri may 22 03:05:23 utc
> 2015 x86_64 gnulinux ' config_args='-des -Dusethreads -Duseshrplib
> -Doptimize=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
> --param=ssp-buffer-size=4 -Dprefix=/usr -Dvendorprefix=/usr
> -Dprivlib=/usr/share/perl5/core_perl -Darchlib=/usr/lib/perl5/core_perl
> -Dsitelib=/usr/share/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl
> -Dvendorlib=/usr/share/perl5/vendor_perl
> -Dvendorarch=/usr/lib/perl5/vendor_perl -Dscriptdir=/usr/bin/core_perl
> -Dsitescript=/usr/bin/site_perl -Dvendorscript=/usr/bin/vendor_perl
> -Dinc_version_list=none -Dman1ext=1perl -Dman3ext=3perl -Dcccdlflags='-fPIC'
> -Dlddlflags=-shared -Wl,-O1,--sort-common,--as-needed,-z,relro
> -Dldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro' hint=recommended,
> useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define
> use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n,
> bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
> -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
> optimize='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
> --param=ssp-buffer-size=4', cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv
> -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
> ccversion='', gccversion='5.1.0', gccosandvers='' intsize=4, longsize=8,
> ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3 d_longlong=define,
> longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
> ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc',
> ldflags ='-Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong
> -L/usr/local/lib'
> libpth=/usr/local/lib /usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/include-fixed /usr/lib /lib/../lib /usr/lib/../lib /lib /lib64 /usr/lib64
> libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
> perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=libc-2.21.so,
> so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.21' Dynamic
> Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
> -Wl,-rpath,/usr/lib/perl5/core_perl/CORE' cccdlflags='-fPIC',
> lddlflags='-shared -Wl,-O1,--sort-common,--as-needed,-z,relro
> -L/usr/local/lib -fstack-protector-strong'
>
>
> Characteristics of this binary (from libperl):
>    Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
>                          PERL_DONT_CREATE_GVSV
>                          PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
>                          PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
>                          PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
>                          USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
>                          USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
>                          USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
>                          USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
>    Built under linux
>    Compiled at Jun  2 2015 09:45:41
>    @INC:
>      /usr/lib/perl5/site_perl
>      /usr/share/perl5/site_perl
>      /usr/lib/perl5/vendor_perl
>      /usr/share/perl5/vendor_perl
>      /usr/lib/perl5/core_perl
>      /usr/share/perl5/core_perl
>      .
> [jude at athame1 ~]$ locate Encode.pm
> /home/jude/.cpan/build/Encode-2.70-rh9IKv/Encode.pm
> /home/jude/.cpan/build/Encode-2.70-rh9IKv/blib/lib/Encode.pm
> /home/jude/.cpanplus/5.20.2/build/Encode-2.73/Encode.pm
> /home/jude/.cpanplus/5.20.2/build/Encode-2.73/blib/lib/Encode.pm
> /usr/lib/perl5/core_perl/Encode.pm
> /usr/lib/perl5/site_perl/Encode.pm
> /usr/share/texi2html/lib/libintl-perl/lib/Locale/RecodeData/_Encode.pm
> /usr/share/texinfo/lib/libintl-perl/lib/Locale/RecodeData/_Encode.pm
> [jude at athame1 ~]$ locate List/Util.pm
> /usr/lib/perl5/core_perl/List/Util.pm
> /usr/lib/perl5/site_perl/List/Util.pm
> [jude at athame1 ~]$ exit
> exit
>
> Script done on Thu 02 Jul 2015 11:10:20 AM EDT
> On
> Thu, 2 Jul 2015, Shlomi Fish wrote:
>
>> Date: Thu, 2 Jul 2015 10:08:18
>> From: Shlomi Fish <shlomif at shlomifish.org>
>> Reply-To: Linux for blind general discussion <blinux-list at redhat.com>
>> To: blinux-list at redhat.com
>> Subject: Re: perl version failures
>>
>> Hi Jude!
>>
>> See below for my reply.
>>
>> On Thu, 2 Jul 2015 06:30:28 -0400 (EDT)
>> Jude DaShiell <jdashiel at panix.com> wrote:
>>
>>> For other distributions of Linux if they haven't yet upgraded to the
>>> version of perl archlinux is now distributing, you will do well to avoid
>>> it like the plague.  In all of the years I've used Linux, I never thought
>>> such a day as this would happen with perl.  Look for yourselves though.
>>> That system is so embedded in so many parts of Linux I can't very well
>>> remove and do a reinstall and even if I could, I can't guarrantee the
>>> current problems would disappear or get worse.
>>>
>>
>> There's nothing particularly wrong with perl-5.22.0 - it is well tested, of
>> good quality, and works well for most people. Note however that like
>> previous versions, it implies a breakage of the internal XS API, which
>> requires Perl/XS packages to be rebuilt. Looking at your problems:
>>
>> [Astrlog output snipped]
>>> [jude at athame1 ~]$ perldoc perl
>>> /usr/bin/perl: symbol lookup
>>> error: /usr/lib/perl5/site_perl/auto/Encode/Encode.so: undefined symbol:
>>> Perl_xs_apiversion_bootcheck
>>
>> Encode and List::Util are core modules and should have been upgraded with
>> the perl interpreter. Perhaps you installed other versions of them from CPAN
>> which should now be deleted.
>>
>> Please run "perl -V" and let me know which directories in the Perl @INC
>> contain the Encode.pm and List/Util.pm files.
>>
>>> For the not too distant future I'm going to have to return the hard drive
>>> to bare metal status then reinstall the operating system.
>>>
>>
>> That still sounds drastic and unnecessary.
>>
>> Regards,
>>
>> 	Shlomi Fish
>>
>>
>> --
>> -----------------------------------------------------------------
>> Shlomi Fish       http://www.shlomifish.org/
>> The Case for File Swapping - http://shlom.in/file-swap
>>
>> ?Interesting? has a negative correlation with ?successful?.
>>    ? Anno on Freenode?s #perl
>>
>> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html

<rjbs> sub id { my $self = shift; $json_parser_for{ $self }
     ->decode($json_for{ $self })->{id} } # Inside?out JSON?notated objects

Please reply to list if it's a mailing list post - http://shlom.in/reply .




More information about the Blinux-list mailing list