in reply to Unable to install XML::LibXML

In which path did you install libxml2? I expect Makefile.PL to only search the standard directories for libraries and headers (like /lib/ and /usr/lib/), if you installed it somewhere else you need to tell it about those paths.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Unable to install XML::LibXML
by kalyanrajsista (Scribe) on Nov 12, 2009 at 14:14 UTC
    <code> my $PATH variable showing the /usr/lib directory.still it is not working

      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? 

      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 ..