Menu

#218 ld: Mismatched ABI (not an ELF file) for

closed-invalid
5
2014-08-16
2002-10-20
Sanjay
No

I tried to install the expat1.95.4) on HP-UX 11.0 (64 Bit).
Then I tried to build XML::Parser2.31.1 and I am getting
the error (ld: Mismatched ABI (not an ELF file).
I am getting the following error during
make .

cp Parser/Encodings/README
blib/lib/XML/Parser/Encodings/README
cp Parser/Encodings/x-sjis-cp932.enc
blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc
cp Parser/Encodings/iso-8859-7.enc
blib/lib/XML/Parser/Encodings/iso-8859-7.enc
cp Parser/Encodings/big5.enc
blib/lib/XML/Parser/Encodings/big5.enc
cp Parser/Encodings/windows-1250.enc
blib/lib/XML/Parser/Encodings/windows-1250.enc
cp Parser/Encodings/iso-8859-8.enc
blib/lib/XML/Parser/Encodings/iso-8859-8.enc
cp Parser/Encodings/iso-8859-2.enc
blib/lib/XML/Parser/Encodings/iso-8859-2.enc
cp Parser/Encodings/x-euc-jp-jisx0221.enc
blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
cp Parser/Encodings/iso-8859-9.enc
blib/lib/XML/Parser/Encodings/iso-8859-9.enc
cp Parser/Encodings/x-sjis-unicode.enc
blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
cp Parser/Encodings/iso-8859-3.enc
blib/lib/XML/Parser/Encodings/iso-8859-3.enc
cp Parser/Encodings/x-sjis-jdk117.enc
blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc
cp Parser/Encodings/euc-kr.enc
blib/lib/XML/Parser/Encodings/euc-kr.enc
cp Parser/Encodings/iso-8859-4.enc
blib/lib/XML/Parser/Encodings/iso-8859-4.enc
cp Parser/Encodings/Japanese_Encodings.msg
blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
cp Parser/Encodings/x-sjis-jisx0221.enc
blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
cp Parser.pm blib/lib/XML/Parser.pm
cp Parser/Encodings/iso-8859-5.enc
blib/lib/XML/Parser/Encodings/iso-8859-5.enc
cp Parser/Encodings/x-euc-jp-unicode.enc
blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
cp Parser/LWPExternEnt.pl
blib/lib/XML/Parser/LWPExternEnt.pl
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/bin/perl -I/opt/perl5.6.1/lib/5.6.1/PA-RISC2.0 -
I/opt/perl5.6.1/lib/5.6.1 /opt/perl5.6.1/lib/5.6.1/ExtUtils/x
s
ubpp -noprotc
cc -c +z -D_HPUX_SOURCE +DD64 -Ae -
I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.31\"c
Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.sl
LD_RUN_PATH="/usr/local/lib" /usr/bin/ld -b
+vnocompatwarnings -L/usr/local/lib -L/lib/pa20_64
Expat.o -o ../blib/arch/au
ld: Mismatched ABI (not an ELF file) for -lexpat
Fatal error.
*** Error exit code 1

Stop.
*** Error exit code 1

Thanks

Discussion

  • Sanjay

    Sanjay - 2002-10-20
    • priority: 5 --> 9
     
  • Sanjay

    Sanjay - 2002-10-20
    • assigned_to: nobody --> fdrake
     
  • Fred L. Drake, Jr.

    • assigned_to: fdrake --> gstein
    • labels: --> Build control
     
  • Fred L. Drake, Jr.

    Logged In: YES
    user_id=3066

    This looks like a build issue to me; I don't know anything about HP-UX, so I
    might be wrong.

     
  • Fred L. Drake, Jr.

    • priority: 9 --> 5
     
  • Fred L. Drake, Jr.

    Logged In: YES
    user_id=3066

    Dropping priority substantially. This is an HP-UX bug;
    someone who can help on that platform needs to figure this
    out; the current crop of contributors doesn't seem to
    include anyone with knowledge or information about that
    platform, and the report doesn't make it clear that this
    isn't an XML::Parser problem (XML::Parser is *not* part of
    Expat, nor is it provided by the Expat project).

     
  • Greg Stein

    Greg Stein - 2003-10-09
    • status: open --> closed
     
  • Greg Stein

    Greg Stein - 2003-10-09

    Logged In: YES
    user_id=6501

    Reading through that output: it is entirely about the
    Parser::Expat build, and then linking against a
    system-installed expat library.

    If the system library was built incorrectly by the Expat
    build system, then we might have a problem, but I'm not
    seeing or hearing that. This looks like some consistencies
    between how people chose to build things on that one box.

    In any case, this isn't a valid bug to file here, unless it
    can be determined the system expat library was built wrong.
    Closing as invalid.

     
  • Greg Stein

    Greg Stein - 2003-10-09
    • status: closed --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB