in reply to Re: Unable to install XML::LibXML
in thread Unable to install XML::LibXML

<code> my $PATH variable showing the /usr/lib directory.still it is not working

Replies are listed 'Best First'.
Re^3: Unable to install XML::LibXML
by almut (Canon) on Nov 12, 2009 at 15:46 UTC

    The PATH environment variable is unrelated to the compiler/linker finding libraries...

    But as you're saying you have the lib installed in /usr/lib (which is a default library search path), I suppose the problem is that the installation somehow didn't succeed...  Did you actually run ./configure --prefix=/usr ; make install (the default installation prefix would be /usr/local) from the directory where you unpacked the libxml2 sources (the tarball you downloaded), and did the build and installation complete without errors? 

Re^3: Unable to install XML::LibXML
by moritz (Cardinal) on Nov 12, 2009 at 14:17 UTC
    That's not quite what I asked.

    What steps did you do to install libmlx2?

      i have installed libxml2 in /usr/lib path .and also my $PATH variable shows the same path ..
        Please list the filenames. What I use is
        perl Makefile.PL INC=-I../libxml2-libxslt-zlib-iconv/include "LIBS=-L. +./libxml2-libxslt-zlib-iconv/lib -llibxml2"