XMLPREFIX=$YOURLIBXMLPREFIX parameter to Makefile.PL determining the correct
libxml2 version in use. e.g.
-> perl Makefile.PL XMLPREFIX=/usr/brand-new
+> perl Makefile.PL XMLPREFIX=/usr/brand-new
will ask '/usr/brand-new/bin/xml2-config' about your real libxml2
Additionally I received the following Note from Rozi Kovesdi:
> Here is my report if someone else runs into the same problem:
> Finally I am done with installing all the libraries and XML Perl
> The combination that worked best for me was:
> Most importantly - before trying to install Perl modules that depend on
> must set SHLIB_PATH to include the path to libxml2 shared library
> assuming that you used the default:
> export SHLIB=/usr/local/lib
> also, make sure that the config files have execute permission:
> they did not have +x after they were installed by 'make install'
> and it took me a while to realize that this was my problem
> perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'