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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:

      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 ]

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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            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