PHP 5.4.3/CentOS 6.2 64bit - couchbase.so won't load
I'm getting the following error with PHP trying to use the couchbase extension (using php -m):
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/couchbase.so' - /usr/local/lib/php/extensions/couchbase.so: undefined symbol: executor_globals in Unknown on line 0
This is PHP 5.4.3 on CentOS 6.2 64-bit. It's a fresh install, with minimal configuration (no other extensions loaded). I've tried both the 1.0.3 and the 1.1.0 client SDKs - and get the same error with both.
I've installed the libcouchbase, libcouchbase-devel, libvbucket, and libvbucket-devel packages - and all installed smoothly.
I verified that the php binary is the correct format:
/usr/local/bin/php: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
And I verified the couchbase.so format:
/usr/local/lib/php/extensions/couchbase.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
All in agreement on the 64-bit front.
If I remove the couchbase extension, php runs fine.