0

Trying to install libxslt-1.1.24 but getting an error during ./configure that says:

checking for libxml libraries >= 2.6.27... configure: error: Version 2.6.16 found. You need at least libxml2 2.6.27 for this version of libxslt

but libxml2-2.7.3 was JUST installed and can be seen in /usr/local/include/libxml2

How do I get libxslt to link to new libxml2 when ./configure?

Meltemi
  • 37,979
  • 50
  • 195
  • 293

2 Answers2

2

The various --with-libxml-* arguments will allow you to point it to your alternate install of libxml2. See ./configure --help for more details.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
1

Unsure if your ld cache would have been rebuilt by the libxslt install, but if not, try refreshing it by running:

ldconfig

(make sure /usr/local/lib is already in /etc/ld.so/conf). Again, you may be linking static, or the cache may already be up-to-date, so this may not matter... but worth a shot I suppose.

Lynn Crumbling
  • 12,985
  • 8
  • 57
  • 95