amonroy has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

We're trying to compile XML::SAX::ExpatXS but we get this error:

perl Makefile.PL Note (probably harmless): No library found for -lexpat Do you want to alter ParserDetails.ini? [Y] Writing Makefile for XML::SAX::ExpatXS

I believe the problem is that Makefile.PL cannot find my expat. I have compiled expat-1.95.8 in a non-standard directory, how can I tell Makefile.PL where it's located?

I tried setting LD_LIBRARY_PATH to /my/path/expat-1.95.8/lib, but no success.

I am running this in a solaris 9 machine.

Thanks

Replies are listed 'Best First'.
Re: How to tell Makefile.PL the location of the expat libs?
by Joost (Canon) on May 27, 2005 at 17:07 UTC
      Thanks, but it didn't solve the problem. I am posting a new (more general) question.