[xsl] XSLT with PHP

Subject: [xsl] XSLT with PHP
From: "Kunsmann, Matthias" <kunsmann@xxxxxxx>
Date: Wed, 17 May 2006 07:33:00 +0200
Hallo List,

if I compile PHP with --with-xsl=pfad then I get following error:

/usr/local/src/php-5.1.4/ext/libxml/libxml.c:644: undefined reference to
`xmlParserInputBufferCreateFilenameDefault'
ext/libxml/.libs/libxml.o(.text+0xba2):/usr/local/src/php-5.1.4/ext/libx
ml/libxml.c:645: undefined reference to
`xmlOutputBufferCreateFilenameDefault'
ext/libxml/.libs/libxml.o(.text+0xc4a): In function
`zm_activate_libxml':
/usr/local/src/php-5.1.4/ext/libxml/libxml.c:624: undefined reference to
`xmlParserInputBufferCreateFilenameDefault'
ext/libxml/.libs/libxml.o(.text+0xc56):/usr/local/src/php-5.1.4/ext/libx
ml/libxml.c:625: undefined reference to
`xmlOutputBufferCreateFilenameDefault'
ext/xmlwriter/.libs/php_xmlwriter.o(.text+0x783): In function
`php_xmlwriter_end':
/usr/local/src/php-5.1.4/ext/xmlwriter/php_xmlwriter.c:550: undefined
reference to `xmlTextWriterEndDTDEntity'
ext/xmlwriter/.libs/php_xmlwriter.o(.text+0x7a2):/usr/local/src/php-5.1.
4/ext/xmlwriter/php_xmlwriter.c:547: undefined reference to
`xmlTextWriterEndDTDAttlist'
ext/xmlwriter/.libs/php_xmlwriter.o(.text+0x7b1):/usr/local/src/php-5.1.
4/ext/xmlwriter/php_xmlwriter.c:544: undefined reference to
`xmlTextWriterEndDTDElement'
/usr/local/lib/libxslt.so: undefined reference to `xmlNewDocPI'
/usr/local/lib/libxslt.so: undefined reference to `xmlModuleClose'
/usr/local/lib/libxslt.so: undefined reference to `xmlModuleOpen'
/usr/local/lib/libxslt.so: undefined reference to `xmlModuleSymbol'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I had installed the newest libxml2 and libxslt on my system. Has anybody
an idea, how I can solve this problem?

Matthias

Current Thread
  • [xsl] XSLT with PHP
    • Kunsmann, Matthias - Wed, 17 May 2006 07:33:00 +0200 <=
      • <Possible follow-ups>
      • Jon Gorman - Wed, 17 May 2006 07:17:12 -0500