Strange issue from command line
| From: | Marco Bambini | Date: | Thu, 26 Jan 2006 08:15:55 +0000 |
| Subject: | Strange issue from command line | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-21687@lists.php.net to get a copy of this message | ||
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