in reply to XML::LibXML::Common 0.13 on linux - undefined symbol
UPDATE: Added the LIBS parameter to the above proposed Makefile.PL.use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'XML::LibXML::Common', 'VERSION_FROM' => 'Common.pm', # finds $VERSION 'AUTHOR' => 'Christian Glahn <christian.glahn@uibk.ac.at>', 'ABSTRACT' => 'Routines and Constants common for XML::LibXML +and XML::GDOME', 'LIBS' => '-lxml2', );
Otherwise just start with perl Makefile.PL as normal. (Again, I've assumed that 'libxml2.a' is the name of the library that needs to be found.)perl Makefile.PL INC="-I/path/to/xml_headers" LIBS="-L/path/to/xml_lib + -lxml2"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::LibXML::Common 0.13 on linux - undefined symbol
by almut (Canon) on May 12, 2009 at 23:33 UTC | |
by syphilis (Archbishop) on May 13, 2009 at 00:18 UTC | |
by almut (Canon) on May 13, 2009 at 00:47 UTC |