!Help: can't get into perl -MCPAN -e shell

Discussion in 'Perl Misc' started by mmccaws2, Oct 31, 2007.

  1. mmccaws2

    mmccaws2 Guest

    I try to login in at command line. It gives me the output below. It
    then kicks me out of the perl shell. What do I need to do to be able
    to use it?

    Mike

    Here is the error message:

    Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    thread-multi/IO/Handle.pm line 260.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/IO/Handle.pm line 260.
    Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    thread-multi/IO/Seekable.pm line 101.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/IO/Seekable.pm line 101.
    Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    thread-multi/IO/File.pm line 117.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/IO/File.pm line 117.
    Compilation failed in require at /opt/perl/lib/5.8.3/FileHandle.pm
    line 9.
    Compilation failed in require at /opt/perl/lib/5.8.3/CPAN.pm line 26.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/CPAN.pm line
    26.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
     
    mmccaws2, Oct 31, 2007
    #1
    1. Advertising

  2. mmccaws2

    smallpond Guest

    On Oct 31, 11:47 am, mmccaws2 <> wrote:
    > I try to login in at command line. It gives me the output below. It
    > then kicks me out of the perl shell. What do I need to do to be able
    > to use it?
    >
    > Mike
    >
    > Here is the error message:
    >
    > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    > at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > thread-multi/IO/Handle.pm line 260.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/IO/Handle.pm line 260.
    > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > thread-multi/IO/Seekable.pm line 101.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/IO/Seekable.pm line 101.
    > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > thread-multi/IO/File.pm line 117.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/IO/File.pm line 117.
    > Compilation failed in require at /opt/perl/lib/5.8.3/FileHandle.pm
    > line 9.
    > Compilation failed in require at /opt/perl/lib/5.8.3/CPAN.pm line 26.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/CPAN.pm line
    > 26.
    > Compilation failed in require.
    > BEGIN failed--compilation aborted.



    Exec format error means the file will not run on your machine.
    Either
    it is corrupted or (more likely) built for the wrong architecture.
    Are you on an Itanium system? Try the command:

    file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
     
    smallpond, Oct 31, 2007
    #2
    1. Advertising

  3. mmccaws2

    mmccaws2 Guest

    On Oct 31, 1:34 pm, smallpond <> wrote:
    > On Oct 31, 11:47 am, mmccaws2 <> wrote:
    >
    >
    >
    > > I try to login in at command line. It gives me the output below. It
    > > then kicks me out of the perl shell. What do I need to do to be able
    > > to use it?

    >
    > > Mike

    >
    > > Here is the error message:

    >
    > > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    > > at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    > > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > > thread-multi/IO/Handle.pm line 260.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/IO/Handle.pm line 260.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > > thread-multi/IO/Seekable.pm line 101.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/IO/Seekable.pm line 101.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > > thread-multi/IO/File.pm line 117.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/IO/File.pm line 117.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/FileHandle.pm
    > > line 9.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/CPAN.pm line 26.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/CPAN.pm line
    > > 26.
    > > Compilation failed in require.
    > > BEGIN failed--compilation aborted.

    >
    > Exec format error means the file will not run on your machine.
    > Either
    > it is corrupted or (more likely) built for the wrong architecture.
    > Are you on an Itanium system? Try the command:
    >
    > file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so


    here is the output

    $ file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
    /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so: ELF-32
    shared object file - IA64

    what does this do?
     
    mmccaws2, Oct 31, 2007
    #3
  4. On 2007-10-31, mmccaws2 <> wrote:

    > $ file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
    > /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so: ELF-32
    > shared object file - IA64
    >
    > what does this do?


    It describes the file to you.

    What do you get from these commands? (Intended to describe
    an executable we know you can run, together with some details
    of your machine.)
    file `which file`
    arch
    uname -a

    --
    Elvis Notargiacomo master AT barefaced DOT cheek
    http://www.notatla.org.uk/goen/
     
    all mail refused, Oct 31, 2007
    #4
  5. mmccaws2

    mmccaws2 Guest

    On Oct 31, 3:29 pm, all mail refused <>
    wrote:
    > On 2007-10-31, mmccaws2 <> wrote:
    >
    > > $ file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
    > > /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so: ELF-32
    > > shared object file - IA64

    >
    > > what does this do?

    >
    > It describes the file to you.
    >
    > What do you get from these commands? (Intended to describe
    > an executable we know you can run, together with some details
    > of your machine.)
    > file `which file`
    > arch
    > uname -a
    >
    > --
    > Elvis Notargiacomo master AT barefaced DOT cheekhttp://www.notatla.org.uk/goen/



    Which arch are you referring to? Would it be an arch file only within
    perl directories.

    the rest is below

    BTW I really appreciate your help too.

    Mike
    $ file /usr/contrib/bin/traceroute
    /usr/contrib/bin/traceroute: ELF-32 executable object file - IA64
    $ arch /usr/contrib/bin/traceroute
    ksh: arch: not found
    $ which arch
    no arch in /usr/bin /usr/ccs/bin /usr/contrib/bin /usr/contrib/Q4/bin /
    opt/perl/bin /opt/ipf/bin /opt/hparray/bin /opt/nettladm/bin /opt/fcms/
    bin /usr/bin/X11 /opt/sec_mgmt/bastille/bin /opt/dsau/bin /opt/dsau/
    sbin /opt/resmon/bin /opt/gnome/bin /usr/contrib/kwdb/bin /opt/wbem/
    bin /opt/wbem/sbin /opt/mozilla /opt/graphics/common/bin /opt/sec_mgmt/
    spc/bin /opt/ssh/bin /opt/hpsmh/bin /opt/upgrade/bin /opt/gwlm/bin /
    usr/contrib/bin/X11 /opt/networker/bin .
    $ uname /usr/contrib/bin/traceroute
    HP-UX
    $ file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
    /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so: ELF-32
    shared object file - IA64
    $ uname -a /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    IO.so
    HP-UX snoopy B.11.23 U ia64 0605108897 unlimited-user license
     
    mmccaws2, Oct 31, 2007
    #5
  6. On 2007-10-31, mmccaws2 <> wrote:

    > Which arch are you referring to? Would it be an arch file only within
    > perl directories.


    You don't seem to have "arch" on HP-UX; what does "model" say?


    > $ file /usr/contrib/bin/traceroute
    > /usr/contrib/bin/traceroute: ELF-32 executable object file - IA64


    > $ uname /usr/contrib/bin/traceroute
    > HP-UX


    Use "uname" or "uname -a" - no point calling "uname" on "traceroute"
    (or even "traceroute" on "uname").

    > $ file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
    > /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so: ELF-32
    > shared object file - IA64


    > $ uname -a /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > IO.so
    > HP-UX snoopy B.11.23 U ia64 0605108897 unlimited-user license


    That looks like useful info anyway.

    Have you got "tusc" installed?

    --
    Elvis Notargiacomo master AT barefaced DOT cheek
    http://www.notatla.org.uk/goen/
     
    all mail refused, Oct 31, 2007
    #6
  7. mmccaws2

    mmccaws2 Guest

    On Oct 31, 4:56 pm, all mail refused <>
    wrote:
    > On 2007-10-31, mmccaws2 <> wrote:
    >
    > > Which arch are you referring to? Would it be an arch file only within
    > > perl directories.

    >
    > You don't seem to have "arch" on HP-UX; what does "model" say?
    >
    > > $ file /usr/contrib/bin/traceroute
    > > /usr/contrib/bin/traceroute: ELF-32 executable object file - IA64
    > > $ uname /usr/contrib/bin/traceroute
    > > HP-UX

    >
    > Use "uname" or "uname -a" - no point calling "uname" on "traceroute"
    > (or even "traceroute" on "uname").
    >
    > > $ file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
    > > /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so: ELF-32
    > > shared object file - IA64
    > > $ uname -a /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > > IO.so
    > > HP-UX snoopy B.11.23 U ia64 0605108897 unlimited-user license

    >
    > That looks like useful info anyway.
    >
    > Have you got "tusc" installed?
    >
    > --
    > Elvis Notargiacomo master AT barefaced DOT cheekhttp://www.notatla.org.uk/goen/


    There is no 'tusc', here's model output

    ia64 hp server rx1620
     
    mmccaws2, Nov 1, 2007
    #7
  8. mmccaws2

    mmccaws2 Guest

    On Oct 31, 5:27 pm, mmccaws2 <> wrote:
    > On Oct 31, 4:56 pm, all mail refused <>
    > wrote:
    >
    >
    >
    > > On 2007-10-31, mmccaws2 <> wrote:

    >
    > > > Which arch are you referring to? Would it be an arch file only within
    > > > perl directories.

    >
    > > You don't seem to have "arch" on HP-UX; what does "model" say?

    >
    > > > $ file /usr/contrib/bin/traceroute
    > > > /usr/contrib/bin/traceroute: ELF-32 executable object file - IA64
    > > > $ uname /usr/contrib/bin/traceroute
    > > > HP-UX

    >
    > > Use "uname" or "uname -a" - no point calling "uname" on "traceroute"
    > > (or even "traceroute" on "uname").

    >
    > > > $ file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so
    > > > /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so: ELF-32
    > > > shared object file - IA64
    > > > $ uname -a /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > > > IO.so
    > > > HP-UX snoopy B.11.23 U ia64 0605108897 unlimited-user license

    >
    > > That looks like useful info anyway.

    >
    > > Have you got "tusc" installed?

    >
    > > --
    > > Elvis Notargiacomo master AT barefaced DOT cheekhttp://www.notatla.org.uk/goen/

    >
    > There is no 'tusc', here's model output
    >
    > ia64 hp server rx1620


    here is the perl -V output

    Summary of my perl5 (revision 5.0 version 8 subversion 3)
    configuration:
    Platform:
    osname=hpux, osvers=11.22, archname=IA64.ARCHREV_0-thread-multi
    uname='hp-ux bigsur03 b.11.22 u ia64 1800516905 unlimited-user
    license '
    config_args='-ders -Dcc=cc -Accflags=-DNO_HASH_SEED -Dusethreads -
    Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -
    Uloclibpth= -Dd_attribut=undef -Dd_u32align=define -Doptimize=-fast
    +DSitanium2 +Ofltacc=strict -Duselargefiles -
    Dinc_version_list=5.8.2/$archname 5.8.2 5.8.1/$archname 5.8.1
    5.8.0/$archname 5.8.0 -Duseshrplib -Dprefix=/opt/perl -
    Dcf_by=ActiveState -Dcf_email='
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef 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='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -
    D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -
    D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
    optimize='-fast +DSitanium2 +Ofltacc=strict',
    cppflags='-D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -
    D_REENTRANT -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define,
    longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
    lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' -L/usr/lib/hpux32'
    libpth=/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
    libs=-lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread -lc
    perllibs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
    libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=true,
    libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -
    Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/
    hpux32'


    Characteristics of this binary (from libperl):
    Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
    PERL_IMPLICIT_CONTEXT
    Locally applied patches:
    ActivePerl Build 809
    22218 Remove the caveat about detached threads crashing on
    Windows
    22201 Avoid threads+win32 crash by freeing Perl interpreter
    slightly later
    22169 Display 'out of memeory' errors using low-level I/O
    22159 Upgrade to Time::Hires 1.55
    22120 Make 'Configure -Dcf_by=...' work
    22051 Upgrade to Time::HiRes 1.54
    21540 Fix backward-compatibility issues in if.pm
    Built under hpux
    Compiled at Jan 18 2005 15:43:34
    @INC:
    /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi
    /opt/perl/lib/5.8.3
    /opt/perl/lib/site_perl/5.8.3/IA64.ARCHREV_0-thread-multi
    /opt/perl/lib/site_perl/5.8.3
    /opt/perl/lib/site_perl
     
    mmccaws2, Nov 1, 2007
    #8
  9. mmccaws2

    mmccaws2 Guest

    On Oct 31, 1:34 pm, smallpond <> wrote:
    > On Oct 31, 11:47 am, mmccaws2 <> wrote:
    >
    >
    >
    > > I try to login in at command line. It gives me the output below. It
    > > then kicks me out of the perl shell. What do I need to do to be able
    > > to use it?

    >
    > > Mike

    >
    > > Here is the error message:

    >
    > > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    > > at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    > > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > > thread-multi/IO/Handle.pm line 260.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/IO/Handle.pm line 260.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > > thread-multi/IO/Seekable.pm line 101.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/IO/Seekable.pm line 101.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > > thread-multi/IO/File.pm line 117.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/IO/File.pm line 117.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/FileHandle.pm
    > > line 9.
    > > Compilation failed in require at /opt/perl/lib/5.8.3/CPAN.pm line 26.
    > > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/CPAN.pm line
    > > 26.
    > > Compilation failed in require.
    > > BEGIN failed--compilation aborted.

    >
    > Exec format error means the file will not run on your machine.
    > Either
    > it is corrupted or (more likely) built for the wrong architecture.
    > Are you on an Itanium system? Try the command:
    >
    > file /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/IO.so


    I still can't log in. This is a production server, so it is important
    for this to get resolved with minimal service disruption. Do I try to
    install the module again. If so, since I can't use perl -MCPAN -e
    shell to do this, how do I try to reinstall on a HPUX 11i platform?

    Or what do I need to do?

    Mike
     
    mmccaws2, Nov 1, 2007
    #9
  10. mmccaws2

    brian d foy Guest

    [[ This message was both posted and mailed: see
    the "To," "Cc," and "Newsgroups" headers for details. ]]

    In article <>,
    smallpond <> wrote:

    > On Oct 31, 11:47 am, mmccaws2 <> wrote:
    > > I try to login in at command line. It gives me the output below. It
    > > then kicks me out of the perl shell. What do I need to do to be able
    > > to use it?


    I'm not sure what this means. Are you talking about logging into your
    user account and getting this error before you type any commands?

    A complete transcript of your session would be helpful. :)


    > > Here is the error message:
    > >
    > > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.


    Can you run anything else with perl or is it just this module giving
    you problems?

    What happens when you try:

    $ perl -MIO -e 0

    If that doesn't work, I suggest re-installing perl. You have something
    wrong with a core module.
     
    brian d foy, Nov 1, 2007
    #10
  11. mmccaws2

    mmccaws2 Guest

    On Nov 1, 1:55 pm, brian d foy <> wrote:
    > [[ This message was both posted and mailed: see
    > the "To," "Cc," and "Newsgroups" headers for details. ]]
    >
    > In article <>,
    >
    > smallpond <> wrote:
    > > On Oct 31, 11:47 am, mmccaws2 <> wrote:
    > > > I try to login in at command line. It gives me the output below. It
    > > > then kicks me out of the perl shell. What do I need to do to be able
    > > > to use it?

    >
    > I'm not sure what this means. Are you talking about logging into your
    > user account and getting this error before you type any commands?
    >
    > A complete transcript of your session would be helpful. :)
    >
    > > > Here is the error message:

    >
    > > > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > > > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > > > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.

    >
    > Can you run anything else with perl or is it just this module giving
    > you problems?
    >
    > What happens when you try:
    >
    > $ perl -MIO -e 0
    >
    > If that doesn't work, I suggest re-installing perl. You have something
    > wrong with a core module.


    Anytime I try to use a perl shell I get similar error messages.
    even for
    perl -e shell
    perl -MCPAN -e shell
    and now
    { the output for all three is below.}
    $ perl -MIO -e 0
    Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    $ perl -e shell
    $ perl -MCPAN -e shell
    Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    thread-multi/IO/Handle.pm line 260.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/IO/Handle.pm line 260.
    Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    thread-multi/IO/Seekable.pm line 101.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/IO/Seekable.pm line 101.
    Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    thread-multi/IO/File.pm line 117.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    IA64.ARCHREV_0-thread-multi/IO/File.pm line 117.
    Compilation failed in require at /opt/perl/lib/5.8.3/FileHandle.pm
    line 9.
    Compilation failed in require at /opt/perl/lib/5.8.3/CPAN.pm line 26.
    BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/CPAN.pm line
    26.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
     
    mmccaws2, Nov 1, 2007
    #11
  12. mmccaws2

    mmccaws2 Guest

    On Nov 1, 4:32 pm, mmccaws2 <> wrote:
    > On Nov 1, 1:55 pm, brian d foy <> wrote:
    >
    >
    >
    > > [[ This message was both posted and mailed: see
    > > the "To," "Cc," and "Newsgroups" headers for details. ]]

    >
    > > In article <>,

    >
    > > smallpond <> wrote:
    > > > On Oct 31, 11:47 am, mmccaws2 <> wrote:
    > > > > I try to login in at command line. It gives me the output below. It
    > > > > then kicks me out of the perl shell. What do I need to do to be able
    > > > > to use it?

    >
    > > I'm not sure what this means. Are you talking about logging into your
    > > user account and getting this error before you type any commands?

    >
    > > A complete transcript of your session would be helpful. :)

    >
    > > > > Here is the error message:

    >
    > > > > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > > > > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > > > > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.

    >
    > > Can you run anything else with perl or is it just this module giving
    > > you problems?

    >
    > > What happens when you try:

    >
    > > $ perl -MIO -e 0

    >
    > > If that doesn't work, I suggest re-installing perl. You have something
    > > wrong with a core module.

    >
    > Anytime I try to use a perl shell I get similar error messages.
    > even for
    > perl -e shell
    > perl -MCPAN -e shell
    > and now
    > { the output for all three is below.}
    > $ perl -MIO -e 0
    > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    > at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    > Compilation failed in require.
    > BEGIN failed--compilation aborted.
    > $ perl -e shell
    > $ perl -MCPAN -e shell
    > Can't load '/opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/auto/IO/
    > IO.so' for module IO: Exec format error at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/XSLoader.pm line 68.
    > at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-thread-multi/IO.pm line 11
    > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > thread-multi/IO/Handle.pm line 260.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/IO/Handle.pm line 260.
    > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > thread-multi/IO/Seekable.pm line 101.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/IO/Seekable.pm line 101.
    > Compilation failed in require at /opt/perl/lib/5.8.3/IA64.ARCHREV_0-
    > thread-multi/IO/File.pm line 117.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/
    > IA64.ARCHREV_0-thread-multi/IO/File.pm line 117.
    > Compilation failed in require at /opt/perl/lib/5.8.3/FileHandle.pm
    > line 9.
    > Compilation failed in require at /opt/perl/lib/5.8.3/CPAN.pm line 26.
    > BEGIN failed--compilation aborted at /opt/perl/lib/5.8.3/CPAN.pm line
    > 26.
    > Compilation failed in require.
    > BEGIN failed--compilation aborted.


    Oh yes, we coordinated a reboot and the above output is even after the
    reboot.

    Thanks
    Mike
     
    mmccaws2, Nov 1, 2007
    #12
  13. mmccaws2

    J. Gleixner Guest

    mmccaws2 wrote:
    > On Nov 1, 4:32 pm, mmccaws2 <> wrote:


    > Oh yes, we coordinated a reboot and the above output is even after the
    > reboot.


    Why would a reboot help? Do a re-build/re-install of perl, might as
    well make it the latest version, while you're at it.

    No idea how HP does things, but it should involve running make. Make
    sure you do the 'make test'.

    make
    make test ---> this should pass.. maybe a few warnings, but it should
    run and not give fatal errors.
    make install .. if the tests pass

    You probably want to do that on your test box or on one of your
    redundant servers first.
     
    J. Gleixner, Nov 2, 2007
    #13
  14. mmccaws2

    mmccaws2 Guest

    On Nov 2, 8:10 am, "J. Gleixner" <>
    wrote:
    > mmccaws2 wrote:
    > > On Nov 1, 4:32 pm, mmccaws2 <> wrote:
    > > Oh yes, we coordinated a reboot and the above output is even after the
    > > reboot.

    >
    > Why would a reboot help? Do a re-build/re-install of perl, might as
    > well make it the latest version, while you're at it.
    >
    > No idea how HP does things, but it should involve running make. Make
    > sure you do the 'make test'.
    >
    > make
    > make test ---> this should pass.. maybe a few warnings, but it should
    > run and not give fatal errors.
    > make install .. if the tests pass
    >
    > You probably want to do that on your test box or on one of your
    > redundant servers first.


    Well, reinstall perl,latest version my administrator could grab, which
    we did, has not changed my ability to log into the perl shell. Must
    be something in my .cpan directory. What happens if I blow that
    away?????

    Any thoughts!!!!!!

    As to how she installs perl I think she is using a binary.

    Mike.
     
    mmccaws2, Nov 3, 2007
    #14
  15. mmccaws2

    brian d foy Guest

    In article <>,
    mmccaws2 <> wrote:


    > Well, reinstall perl,latest version my administrator could grab, which
    > we did, has not changed my ability to log into the perl shell.


    There is no Perl shell.

    And, it sounds like your administrator needs to recompile Perl. The
    binary she is installing is broken.
    >
     
    brian d foy, Nov 3, 2007
    #15
  16. mmccaws2

    mmccaws2 Guest

    On Nov 3, 6:10 am, brian d foy <> wrote:
    > In article <>,
    >
    > mmccaws2 <> wrote:
    > > Well, reinstall perl,latest version my administrator could grab, which
    > > we did, has not changed my ability to log into the perl shell.

    >
    > There is no Perl shell.
    >
    > And, it sounds like your administrator needs to recompile Perl. The
    > binary she is installing is broken.
    >
    >


    I had to remove the .cpan/CPAN.pm file to get back a prompt.

    Mike
     
    mmccaws2, Nov 3, 2007
    #16
  17. mmccaws2

    mmccaws2 Guest

    On Nov 3, 8:31 am, mmccaws2 <> wrote:
    > On Nov 3, 6:10 am, brian d foy <> wrote:
    >
    > > In article <>,

    >
    > > mmccaws2 <> wrote:
    > > > Well, reinstall perl,latest version my administrator could grab, which
    > > > we did, has not changed my ability to log into the perl shell.

    >
    > > There is no Perl shell.

    >
    > > And, it sounds like your administrator needs to recompile Perl. The
    > > binary she is installing is broken.

    >
    > I had to remove the .cpan/CPAN.pm file to get back a prompt.
    >
    > Mike


    And thanks everyone for your help. For us not so experience in Perl,
    getting positive feedback seems to drive me to continue learning and
    hopefully become more proficient.

    Mike
     
    mmccaws2, Nov 3, 2007
    #17
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Art Werschulz
    Replies:
    0
    Views:
    660
    Art Werschulz
    Dec 3, 2003
  2. yasaswi

    perl -MCPAN -e install

    yasaswi, Jun 6, 2005, in forum: Perl Misc
    Replies:
    1
    Views:
    124
    Mark Clements
    Jun 7, 2005
  3. mmccaws2
    Replies:
    0
    Views:
    119
    mmccaws2
    Nov 7, 2007
  4. Stephane Charette
    Replies:
    3
    Views:
    186
  5. Peng Yu
    Replies:
    1
    Views:
    339
    Ron Bergin
    Dec 31, 2009
Loading...

Share This Page