Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

PHP SDK on Mac - Symbol not found

3 replies [Last post]
  • Login or register to post comments
Sat, 10/20/2012 - 12:13
piotr.p
piotr.p's picture
Offline
Joined: 10/20/2012
Groups: None

Hi,

I'm using:

PHP Version 5.3.17 (homebrew)

I installed libcouchbase (brew install https://github.com/couchbase/homebrew/raw/preview/Library/Formula/libcou...), downloaded PHP extension (http://packages.couchbase.com/clients/php/php-ext-couchbase-1.1.0-dp4-ma...) and added it to php.ini

phpinfo() shows extension was loaded:

couchbase support enabled
version 1.1.0-dp3
json support yes
fastlz support no
zlib support yes

Directive Local Value Master Value
couchbase.compression_factor 1.3 1.3
couchbase.compression_threshold 2000 2000
couchbase.compressor none none
couchbase.serializer php php"

but

$cb = new Couchbase("127.0.0.1:8091", "default", "", "default");
$cb->set("a", 1);
var_dump($cb->get("a"));

crashes with:

dyld: lazy symbol binding failed: Symbol not found: _lcb_set_view_complete_callback
Referenced from: /usr/local/Cellar/php53/5.3.17/lib/php/extensions/no-debug-non-zts-20090626/couchbase.so
Expected in: flat namespace

dyld: Symbol not found: _lcb_set_view_complete_callback
Referenced from: /usr/local/Cellar/php53/5.3.17/lib/php/extensions/no-debug-non-zts-20090626/couchbase.so
Expected in: flat namespace

[Sat Oct 20 21:10:59 2012] [notice] child pid 42953 exit signal Trace/BPT trap (5)

Please advise.

Top
  • Login or register to post comments
Sun, 10/21/2012 - 20:54
avsej
avsej's picture
Offline
Joined: 06/15/2011
Groups: None

Hi we've fixed this issue and currently it is on review site http://review.couchbase.org/21812

It will be released pretty soon, thanks

__________________

Find me on FreeNode IRC in #libcouchbase channel

Top
  • Login or register to post comments
Mon, 10/22/2012 - 16:22
ingenthr
Offline
Joined: 03/16/2010
Groups:

It's been released now. Please head to couchbase.com/develop/php/next and get the latest. Let us know if you have any problems.

Top
  • Login or register to post comments
Tue, 10/23/2012 - 04:30
piotr.p
piotr.p's picture
Offline
Joined: 10/20/2012
Groups: None

Everything is working fine now :)

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker