Hello,

Indeed this fix the bug.
Please find the patch enclosed.

** Patch added: "php.patch"
   
https://bugs.launchpad.net/zorba/+bug/867133/+attachment/2597640/+files/php.patch

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867133

Title:
  SWIG PHP build failure on Mac OSX

Status in Zorba - The XQuery Processor:
  New

Bug description:
  See the zorba coders topic under: "Still SWIG problems..."

  
  Linking CXX shared module libzorba_api.so
  Undefined symbols:
   "_zval_is_true", referenced from:
       _wrap_swig_zorba_api_alter_newobject(int, _zval_struct*,
  _zval_struct**, _zval_struct*, int)in zorba_apiPHP5_wrap.cxx.o
   "_zend_lookup_class", referenced from:
       SWIG_ZTS_SetPointerZval(_zval_struct*, void*, swig_type_info*,
  int)in zorba_apiPHP5_wrap.cxx.o
   "__object_init", referenced from:
       SWIG_ZTS_SetPointerZval(_zval_struct*, void*, swig_type_info*,
  int)in zorba_apiPHP5_wrap.cxx.o
      (maybe you meant: __object_init_ex)
   "__zend_hash_add_or_update", referenced from:
       SWIG_ZTS_SetPointerZval(_zval_struct*, void*, swig_type_info*,
  int)in zorba_apiPHP5_wrap.cxx.o
   "_php_strtolower", referenced from:
       SWIG_ZTS_SetPointerZval(_zval_struct*, void*, swig_type_info*,
  int)in zorba_apiPHP5_wrap.cxx.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status
  make[2]: *** [swig/php/libzorba_api.so] Error 1
  make[1]: *** [swig/php/CMakeFiles/zorba_api.dir/all] Error 2
  make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867133/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to