in reply to XML::Parser: error in processing external entity reference at line ...

Your linker is not finding the perl library. On my machine the symbols would be found in /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so. You might try setting the environment variable LD_LIBRARY_PATH to the corresponding path on your machine as a quick fix.
  • Comment on Re: XML::Parser: error in processing external entity reference at line ...

Replies are listed 'Best First'.
Re^2: XML::Parser: error in processing external entity reference at line ...
by radamdeys (Initiate) on Jun 08, 2009 at 12:01 UTC
    This could be the one possibility that the "perl library" is not getting linked. even after setting the: export LD_LIBRARY_PATH=../path/to/libperl.so it didn't help. How to verify if the linker is taking care of linking the perl library ?

      First of all you might edit your first post and put your error message between c- or code-tags, otherwise that part of your question is hardly readable

      To solve your problem you might call 'make -n' which would print all the commands make would execute (at least with most makes, hopefully yours too. Otherwise read the man page). Find the line where libcres.a is built

      One reason for the errors could be that expat doesn't know about your platform (HP-UX on Intanium) and has the wrong switches in the Makefile. So compare that line with what your compiler can understand. Try to execute the line on the shell and see if you can bring it to work, maybe by providing more switches

      Also check the documentation of expat. Is there any mention of HP-UX?