I have developed a php extension, the linux version works fine but the osx version has some issue when php is loaded from the command line (within apache works fine).
The terminal shows me the following error:

dyld: lazy symbol binding failed: Symbol not found: _zend_register_long_constant Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20020429/ rsql.dylib
  Expected in: flat namespace

Please note that all the _zend functions are reported as "lazy symbol binding failed", this is just the first one...

I am using the standard way to compile a php extension so I am quite sure that the issue has something to do with the way the linker is invoked.

I think I need a way to tell gcc to weak link the final dylib plugin or something similar...
Your help is really appreciate...

Thanks a lot,
Marco Bambini

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to