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

[PHP] Unable to load dynamic library (solved)

2 replies [Last post]
  • Login or register to post comments
Mon, 01/09/2012 - 12:02
warptrosse
Offline
Joined: 01/06/2012
Groups: None

Hi, I'm trying to use the PHP SDK... executing the following steps I get a "Unable to load dynamic library" error:

1) # wget http://sdk-snapshots.couchbase.com/latestbuilds/php-couchbase-memcached_...
2) # tar xvzf php-couchbase-memcached_centos_5.2_x86_64.tar.gz
3) # mv php-couchbase-memcached /opt
4) # nano /etc/php.ini

extension=/opt/php-couchbase-memcached/memcached.so

5) # php -i | grep memcached
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php-couchbase-memcached/memcached.so' - /opt/php-couchbase-memcached/memcached.so: undefined symbol: memcached_touch in Unknown on line 0
PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Buenos_Aires' for 'ART/-3.0/no DST' instead in Unknown on line 0

INFO:
# uname -a

Linux warp-redhat64-devel 2.6.32-220.2.1.el6.x86_64 #1 SMP Tue Dec 13 16:21:34 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

Is there something missing?

thanks.

Top
  • Login or register to post comments
Wed, 01/11/2012 - 15:40
ingenthr
Offline
Joined: 03/16/2010
Groups:

I resolved this issue just last night. Can you try with the current download?

Sorry for the hassle.

Top
  • Login or register to post comments
Thu, 01/12/2012 - 05:37
warptrosse
Offline
Joined: 01/06/2012
Groups: None

Hi, thx for the answer.

Now It is working:

# php -i | grep memcached

PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Buenos_Aires' for 'ART/-3.0/no DST' instead in Unknown on line 0
memcached
memcached support => enabled
libmemcached version => 0.47
memcached.compression_factor => 1.3 => 1.3
memcached.compression_threshold => 2000 => 2000
memcached.compression_type => fastlz => fastlz
memcached.serializer => php => php
memcached.sess_lock_wait => 150000 => 150000
memcached.sess_locking => 1 => 1
memcached.sess_prefix => memc.sess.key. => memc.sess.key.
Registered save handlers => files user memcached

thanks!

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