Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-112

"undefined symbol: php_json_decode in Unknown on line 0" when load couchbase.so library

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • None
    • None
    • library
    • Security Level: Public
    • None

    Description

      Affects Versions:
      1.0.6-1
      1.1.0dp9-1

      Here are steps to reproduce error in version 1.0.6-1, (version 1.1.0dp9-1 is similar):
      1. create file /etc/yum.repos.d/couchbase.repo

      [couchbase]
      name = Couchbase package repository

      1. baseurl = http://packages.couchbase.com/rpm/6.2/x86_64
        baseurl = http://packages.couchbase.com/preview/rpm/5.5/x86_64
        gpgcheck=0

      2. yum install libcouchbase1

      3.

      1. wget http://packages.couchbase.com/clients/php/php-ext-couchbase-1.0.5-centos62-x86_64.tar.gz
      2. tar xzf php-ext-couchbase-1.0.5-centos62-x86_64.tar.gz
      3. cp php-ext-couchbase/couchbase.so /usr/lib64/php/modules/

      4. add the following line to /etc/php.d/json.ini:
      extension=couchbase.so

      5. # service php-fpm restart
      Stopping php-fpm: [ OK ]
      Starting php-fpm: [10-Sep-2012 17:42:45] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/couchbase.so' - /usr/lib64/php/modules/couchbase.so: undefined symbol: php_json_decode in Unknown on line 0
      [ OK ]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            thanhbv thanhbv
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty