質問

I'm trying to make mongo-php-driver work with PHP 5.5.7 on OS X 10.9.1 but I came to a dead end, I've tried everything I could possibly find and nothing works...

Everything compiles just fine, but PHP doesn't load the extension and gives a really odd error:

Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20121212/mongo.so' - dlopen(/usr/local/lib/php/extensions/no-debug-zts-20121212/mongo.so, 9): Symbol not found: _core_globals
  Referenced from: /usr/local/lib/php/extensions/no-debug-zts-20121212/mongo.so
  Expected in: flat namespace
 in Unknown on line 0

I've checked about thread safety and architecture issues but everything is just fine, both extension and PHP are thread safe and 64bits.

I also checked if there was any issues with the binaries, like phpize and php-config, but everything seems to be just fine...

I really don't know what to do, anyone has any clue?

役に立ちましたか?

解決 2

This issue is only happening on the lastest version.

I just tried with the 1.4.5 and everything went just fine!

他のヒント

gibatronic, as far as I understand, you have compiled this driver for 5.5.7. I tried to use existing precompiled binary provided online (and discovered last compatible php version)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top