BradV has asked for the wisdom of the Perl Monks concerning the following question:
I'm running on RHEL 6.9. I have installed libxml2 and libxml2-devel. The xml2 libraries are under /usr/lib64. Zlib is installed and is under /lib64. So, I changed makepl_arg as:
When I run cpan XML::LibXML::Node, I get:o conf makepl_arg "INC=-I/usr/include -I/usr/local/include -I/usr/incl +ude/libxml2/libxml LIBS=-L/usr/lib64 -L/usr/lib -L/usr/local/lib -L/l +ib64 -llibxml2 -lm" o conf commit
I'm not sure what math library it is referring to. I have been searching on the Internet, but nothing is really popping out. Any clues what I may be missing?... Checking for ability to link against xml2...no Checking for ability to link against libxml2...libxml2, zlib, and/or t +he Math library (-lm) have not been found.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpan install error for XML::LibXML::Node
by Corion (Patriarch) on May 31, 2017 at 11:51 UTC | |
by BradV (Sexton) on May 31, 2017 at 12:46 UTC | |
|
Re: cpan install error for XML::LibXML::Node
by hippo (Archbishop) on May 31, 2017 at 12:44 UTC | |
by BradV (Sexton) on May 31, 2017 at 12:53 UTC | |
by hippo (Archbishop) on May 31, 2017 at 13:11 UTC | |
by BradV (Sexton) on May 31, 2017 at 13:36 UTC | |
by hippo (Archbishop) on May 31, 2017 at 13:48 UTC | |
| |
|
Re: cpan install error for XML::LibXML::Node
by stevieb (Canon) on May 31, 2017 at 12:14 UTC | |
by BradV (Sexton) on May 31, 2017 at 12:36 UTC |