Strange issue from command line

php.internals

Marco Bambini

20 years ago
Hi, I have developed a php extension for OSX (PHP 4.4) and it works fine under Apache. The only issue I found is that if I execute a simple php command from the command line then I receive an "undefined symbol" error. For example: % php -r "print ini_get('extension_dir');" dyld: lazy symbol binding failed: Symbol not found: _zend_register_list_destructors_ex Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20020429/ rsql.dylib Expected in: flat namespace dyld: Symbol not found: _zend_register_list_destructors_ex Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20020429/ rsql.dylib Expected in: flat namespace Trace/BPT trap Why I receive a "Symbol not found: _zend_register_list_destructors_ex" error? Any help? Thanks a lot, Marco Bambini Italy