Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: perl -MCPAN -e shell ==> Segmentation fault (Cwd/PathTools)

by Anonymous Monk
on Jun 13, 2013 at 06:42 UTC ( [id://1038679]=note: print w/replies, xml ) Need Help??


in reply to Re^3: perl -MCPAN -e shell ==> Segmentation fault (Cwd/PathTools)
in thread perl -MCPAN -e shell ==> Segmentation fault

/usr/local/lib/perl5/5.8.8/File/Path.pm line 6.

I'll assume local/lib... isn't your vendor perl

So the way to resolve this issue is to rm -rf /usr/local/lib/perl5 and recompile/reinstall perl anew

OTOH, you might want to dump your perl -V maybe you have something weird in there (unlikely)

Replies are listed 'Best First'.
Re^5: perl -MCPAN -e shell ==> Segmentation fault (Cwd/PathTools)
by MacLing (Novice) on Jun 14, 2013 at 01:31 UTC

    # perl -V

    Summary of my perl5 (revision 5 version 8 subversion 8) configuration:

    Platform:

    osname=linux, osvers=2.6.9-5.elsmp, archname=x86_64-linux

    uname='linux amrdev 2.6.9-5.elsmp #1 smp wed jan 5 19:29:47 est 2005 x86_64 x86_64 x86_64 gnulinux '

    config_args='-de'

    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=define uselongdouble=undef

    usemymalloc=n, bincompat5005=undef

    Compiler:

    cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',

    optimize='-O2',

    cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'

    ccversion='', gccversion='3.4.3 20041212 (Red Hat 3.4.3-9.EL4)', gccosandvers=''

    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678

    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16

    lseeksize=8 alignbytes=8, prototype=define

    Linker and Libraries:

    ld='ld', ldflags =' -L/usr/local/lib'

    libpth=/usr/local/lib /lib /usr/lib

    libs=

    perllibs=

    libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a

    gnulibc_version='2.3.4'

    Dynamic Linking:

    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''

    cccdlflags='', lddlflags=''

    Characteristics of this binary (from libperl):

    Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO

    Built under linux

    Compiled at Nov 7 2006 13:04:06

    @INC:

    /usr/local/lib/perl5/5.8.8/x86_64-linux

    /usr/local/lib/perl5/5.8.8

    /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux

    /usr/local/lib/perl5/site_perl/5.8.8

    /usr/local/lib/perl5/site_perl

    .

    Any advice ?

      Any advice ?

      Install new perl

        FWIW I encountered this error as I had an older installation of the Cwd cpan module installed/ available on the INC path. Removing that fixed my issue.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1038679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found