Link to home
Start Free TrialLog in
Avatar of rtalbot
rtalbot

asked on

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
Avatar of Tintin
Tintin

Where is libxslt installed?
Avatar of rtalbot

ASKER

It's in /usr/lib
Do you have libxslt-devel installed?
Avatar of rtalbot

ASKER

Just ran locate for libxslt-devel and I can't find it
ASKER CERTIFIED SOLUTION
Avatar of Dave Cross
Dave Cross
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rtalbot

ASKER

Thanks, I'll give it a go and get back
Avatar of rtalbot

ASKER

That's fixed it. For the record, I first had to upgrade libxslt, then install libxslt-devel. It was a straightforward job

Thanks Dave