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

Ron Parker sysop at scbbs.com
Mon Apr 22 18:21:32 BST 2013


Can you tell me how I rebuild the bindings as suggested for my version of PHP?

Or, how to install the packages you built?

PHP 5.2.16 (cli) (built: Dec 17 2010 14:09:03)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

CentOS release 5.3 (Final)
Tikanga - added for OMSA install

Thanks so much!

-ron

----- Original Message -----
From: "Tim Brody" <tdb2 at ecs.soton.ac.uk>
To: "Ron Parker" <sysop at scbbs.com>
Cc: "Xapian Discussion" <xapian-discuss at lists.xapian.org>
Sent: Monday, April 22, 2013 4:52:07 AM
Subject: Re: [Xapian-discuss] warning: dl() [function.dl]: xapian: Unable	to initialize module Module compiled with module API=20050922

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




More information about the Xapian-discuss mailing list