in reply to Re^2: XML::Parser: error in processing external entity reference at line ...
in thread XML::Parser: error in processing external entity reference at line ...

That is weird. Error message error in processing external entity reference at line 2, column 59, byte 82 is coming from XML::Parser/expat. If it was linker error, your program wouldn't run. Does the XML-Parser test suite pass?
  • Comment on Re^3: XML::Parser: error in processing external entity reference at line ...

Replies are listed 'Best First'.
Re^4: XML::Parser: error in processing external entity reference at line ...
by radamdeys (Initiate) on Jun 08, 2009 at 13:01 UTC
    Yes, all the tests passed and are clean: clone# /tmp/gmake test gmake1: Entering directory `/tmp/Perl-Module/XML-Parser-2.34/Expat' gmake1: Leaving directory `/tmp/Perl-Module/XML-Parser-2.34/Expat' PERL_DL_NONLAZY=1 /opt/perl_32/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/astress......... t/astress.........1/27 t/astress.........ok t/cdata........... t/cdata...........1/2 t/cdata...........ok t/decl............ t/decl............1/30 t/decl............ok t/defaulted....... t/defaulted.......1/4 t/defaulted.......ok t/encoding........"my" variable $p masks earlier declaration in same scope at t/encoding.t line 94. t/encoding........1/6 t/encoding........ok t/external_ent.... t/external_ent....1/5 t/external_ent....ok t/file............ t/file............1/2 t/file............ok t/finish.......... t/finish..........1/3 t/finish..........ok t/namespaces...... t/namespaces......1/16 t/namespaces......ok t/parament........ t/parament........1/12 t/parament........ok t/partial......... t/partial.........1/3 t/partial.........ok t/skip............ t/skip............1/4 t/skip............ok t/stream.......... t/stream..........1/3 t/stream..........ok t/styles.......... t/styles..........1/13 t/styles..........ok All tests successful. Files=14, Tests=130, 4 wallclock secs ( 0.25 usr 0.14 sys + 3.29 cusr 0.60 csys = 4.28 CPU) Result: PASS And as mentioned, the error is not seen if i am using older version of perl.
      Yes, all the tests passed and are clean.

      That proves the problem isn't XML::Parser

      We need small code/xml to demonstrate that error.