in reply to How to tell Makefile.PL the location of the expat libs?

One way to do it is to open up the Makefile.PL, find the call to WriteMakefile and change the LIBS parameter: add the full path to the library:
WriteMakefile( ... LIBS => ['-L/some/path', '-lexpat' ... ], ... );

There are probably better ways, though.

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