[Xapian-discuss] Having trouble compiling xapian-bindings for php

Josh leftdrive at gmail.com
Sat Jun 16 01:13:12 BST 2007

Running CentOS, php5, and just downloaded the 1.0.1, extracted, compiled,
installed per the instructions. Next I tried to compile the xapian-bindings
for php

./configure XAPIAN_CONFIG=/usr/local/bin/xapian-config --with-php

configure runs fine, make runs fine, make check reports the following error:

Warning: dl(): Unable to load dynamic library '/usr/local/src/xapian-
bindings-1.0.1/php/.libs/xapian.so' - libxapian.so.15: cannot open shared
object file: No such file or directory in /usr/local/src/xapian-
bindings-1.0.1/php/php5/xapian.php on line 23

Fatal error: Call to undefined function major_version() in
/usr/local/src/xapian-bindings-1.0.1/php/php5/xapian.php on line 40
FAIL: smoketest.php
1 of 1 tests failed

Any ideas?

More information about the Xapian-discuss mailing list