Project

Profile

Help

Bug #2690

closed

saxon.so file missing from 64-bit version and wrong library reference in config.m4

Added by Claudia Nölker almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
PHP Build
Start date:
2016-03-31
Due date:
% Done:

100%

Estimated time:
0:15 h
Found in version:
1.0.0
Fixed in version:
1.0.1
Platforms:

Description

Hello,

the documentation states:

"A built php extension module is included in the directory 'php-library-module'. See the file saxon.so, which was built on a Ubuntu machine with PHP 5.5.9."

However, after installing from file libsaxon-HEC-setup64-v1.0.0.zip, no such directory 'php-library-module' and no such file is available.

Compiling (PHP5.5.33 on OpenSuSE) results in an error:

/bin/sh /opt/Saxonica/Saxon-HEC1.0.0/Saxon.C.API/libtool --mode=link cc -DPHP_ATOM_INC -I/opt/Saxonica/Saxon-HEC1.0.0/Saxon.C.API/include -I/opt/Saxonica/Saxon-HEC1.0.0/Saxon.C.API/main -I/opt/Saxonica/Saxon-HEC1.0.0/Saxon.C.API -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o saxon.la -export-dynamic -avoid-version -prefer-pic -module -rpath /opt/Saxonica/Saxon-HEC1.0.0/Saxon.C.API/modules php_saxon.lo SaxonProcessor.lo XQueryProcessor.lo XsltProcessor.lo XPathProcessor.lo SchemaValidator.lo XdmValue.lo XdmItem.lo XdmNode.lo XdmAtomicValue.lo SaxonCGlue.lo SaxonCProcessor.lo SaxonCXPath.lo -lstdc++ -lsaxon -ldl

libtool: link: cc -shared -fPIC -DPIC .libs/php_saxon.o .libs/SaxonProcessor.o .libs/XQueryProcessor.o .libs/XsltProcessor.o .libs/XPathProcessor.o .libs/SchemaValidator.o .libs/XdmValue.o .libs/XdmItem.o .libs/XdmNode.o .libs/XdmAtomicValue.o .libs/SaxonCGlue.o .libs/SaxonCProcessor.o .libs/SaxonCXPath.o -lstdc++ -lsaxon -ldl -O2 -Wl,-soname -Wl,saxon.so -o .libs/saxon.so

/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lsaxon

In the 'Files' section, I found a saxon.so file, however, this is compiled for a 32bit system and therefore not usable:

'wrong ELF class: ELFCLASS32'

Please, where can I get the file saxon.so for a 64bit system?

Claudia


Related issues

Has duplicate SaxonC - Bug #2697: on Ubuntu make command gives errorRejectedO'Neil Delpratt2016-04-05

Actions

Please register to edit this issue

Also available in: Atom PDF