install error on mac10.8.5

I use xampp installed on mac. the place of xampp is in /applications/xampp I load the source code and build it to phalcon.so. but when I install it to the php as a php extension. It comes this error: [29-Sep-2013 08:32:02 Europe/Berlin] PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20100525/phalcon.so' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20100525/phalcon.so, 9): Symbol not found: outputglobals Referenced from: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20100525/phalcon.so Expected in: flat namespace in /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20100525/phalcon.so in Unknown on line 0

Please help me to check it.