[Xapian-discuss] Problem compiling php bindings under OS X

Matthew Landauer matthew at openaustralia.org
Tue Apr 8 01:04:27 BST 2008


Hi Olly,

I managed to get the php bindings working by installing php through  
Macports before compiling the bindings
$ sudo port install php5 +apache2

So, it's something to do with the way that php that comes with OS X  
10.5.2 is compiled by Apple.

Hope that helps.

All the best,
Matthew

On 07/04/2008, at 11:37 PM, Olly Betts wrote:

> On Mon, Apr 07, 2008 at 10:00:39PM +1000, Matthew Landauer wrote:
>> I'm having some trouble getting the xapian 1.0.6 php bindings under  
>> OS
>> X 10.5.2 working.
>
> Has any previous version on the PHP bindings worked?
>
>> Making check in php
>> make  check-recursive
>> Making check in docs
>> make[3]: Nothing to be done for `check'.
>> make  check-TESTS
>> dyld: NSLinkModule() error
>> dyld: Symbol not found: _executor_globals
>
> Google pulls up quite a few similar reports for various projects,  
> but I
> didn't spot any with suggested solutions which were reported to work
> in the handful I looked at:
>
> http://www.google.com/search?q=dyld:+Symbol+not+found:+_executor_globals
>
>>   Referenced from: /Users/matthewl/build/xapian-bindings-1.0.6/
>> php/.libs/xapian.so
>>   Expected in: dynamic lookup
>
> Unfortunately Mac OS X seems to have rather unusual complications in
> shared object/library handling compared to most Unix platforms, and
> we've needed special cases for it for other languages (I don't recall
> seeing anything like this before though).
>
> I don't have access to the platform myself, so I have to rely on  
> people
> who do to work out what's going on before fixing problems.  If anyone
> knows how to get this to work, I'd love to know.
>
> Cheers,
>    Olly

Matthew Landauer
matthew at openaustralia.org








More information about the Xapian-discuss mailing list