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

Olly Betts olly at survex.com
Mon Apr 7 14:37:43 BST 2008


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



More information about the Xapian-discuss mailing list