[Xapian-discuss] warning: dl() [function.dl]: xapian: Unable to initialize module Module compiled with module API=20050922

Tim Brody tdb2 at ecs.soton.ac.uk
Mon Apr 22 12:52:07 BST 2013


Hi,

I've built packages for 1.2.15 against the latest RHEL 6. Let me know if
you have any further problems.

Thanks,
Tim.

On Sat, 2013-04-20 at 03:20 -0500, Ron Parker wrote:
> Thank you for the response.  How do I rebuild the bindings against the version of PHP I have installed?  I installed Xapian using yum:
> 
> # rpm -ivh http://rpm.eprints.org/rpm-eprints-org-key-1-1.noarch.rpm
> # rpm -ivh http://rpm.eprints.org/xapian/6/noarch/rpm-eprints-org-xapian-6-1.noarch.rpm
> # yum update
> # yum install xapian-omega xapian-bindings-{php,python,tcl8,perl,ruby}
> 
> I thought this would have done that, but apparently not.  How do I rebuild the bindings?
> 
> Thanks!
> 
> -ron
> 
> ----- Original Message -----
> From: "Olly Betts" <olly at survex.com>
> To: "Ron Parker" <sysop at scbbs.com>
> Cc: xapian-discuss at lists.xapian.org
> Sent: Friday, April 19, 2013 11:45:55 PM
> Subject: Re: [Xapian-discuss] warning: dl() [function.dl]: xapian: Unable	to  initialize module Module compiled with module API=20050922
> 
> On Sat, Apr 20, 2013 at 12:59:40AM -0500, Ron Parker wrote:
> > "warning: dl() [function.dl]: xapian: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0 PHP
> > compiled with module API=20060613, debug=0, thread-safety=0 These
> > options need to match in /usr/share/php/xapian.php on line 22." 
> 
> This isn't really a Xapian-specific problem - it's a PHP version
> mismatch.
> 
> The error means the PHP bindings you're trying to use were built for an
> older version of PHP.  The PHP developers make binary-incompatible
> changes to the module API sometimes.
> 
> You're either going to need to install that older PHP version (one which
> has "module API=20050922" - a quick poke in google suggests that means
> PHP 5.1.x) or rebuild the bindings against the version of PHP you have
> installed.
> 
> Cheers,
>     Olly
> 
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xapian.org/pipermail/xapian-discuss/attachments/20130422/f20f70df/attachment.pgp>


More information about the Xapian-discuss mailing list