Problem installing XML::LibXSLT

I am trying to install XML::LibXSLT on linux and it fails at this...

running xslt-config... failed
using fallback values for LIBS and INC
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxslt -lxml2 -lz -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxslt... no
libxslt not found
Try setting LIBS and INC values on the command line

I do seem to have libxslt installed because I can run xsltproc. I've spent about four hours googling for clues! Any help gratefully received
rtalbotAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
davorgConnect With a Mentor Commented:
libxslt comes in two parts. The normal library is for people who just want to use the tool, the development version contains things like header files. If you want to build tools that use libxslt (like XML::LibXSLT) then you'll need this extra stuff.

Now on a Redhat based system the two parts are available as two rpms called libxlst and libxslt-devel. If you're on a different system then you can probably find what you want by poking around on the web site at http://xmlsoft.org/XSLT/

Dave...
0
 
TintinCommented:
Where is libxslt installed?
0
 
rtalbotAuthor Commented:
It's in /usr/lib
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
davorgCommented:
Do you have libxslt-devel installed?
0
 
rtalbotAuthor Commented:
Just ran locate for libxslt-devel and I can't find it
0
 
rtalbotAuthor Commented:
Thanks, I'll give it a go and get back
0
 
rtalbotAuthor Commented:
That's fixed it. For the record, I first had to upgrade libxslt, then install libxslt-devel. It was a straightforward job

Thanks Dave
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.