php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59679 memcached.so: undefined symbol: memcached_result_flags in Unknown on line 0
Submitted: 2011-03-21 16:43 UTC Modified: 2011-03-22 10:57 UTC
From: steve dot fortin at cogecodiffusion dot com Assigned:
Status: Closed Package: memcached (PECL)
PHP Version: 5.2.14 OS: RedHat
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: steve dot fortin at cogecodiffusion dot com
New email:
PHP Version: OS:

 

 [2011-03-21 16:43 UTC] steve dot fortin at cogecodiffusion dot com
Description:
------------
Warning: PHP Startup: Unable to load dynamic library '/usr/local/src/memcached-2.0.0b1/modules/memcached.so' - /usr/local/src/memcached-2.0.0b1/modules/memcached.so: undefined symbol: memcached_result_flags in Unknown on line 0


Reproduce code:
---------------
Build complete.
Don't forget to run 'make test'.

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/src/memcached-2.0.0b1/modules/memcached.so' - /usr/local/src/memcached-2.0.0b1/modules/memcached.so: undefined symbol: memcached_result_flags in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/local/src/memcached-2.0.0b1/modules/memcached.so' - /usr/local/src/memcached-2.0.0b1/modules/memcached.so: undefined symbol: memcached_result_flags in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/src/memcached-2.0.0b1/modules/memcached.so' - /usr/local/src/memcached-2.0.0b1/modules/memcached.so: undefined symbol: memcached_result_flags in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/local/src/memcached-2.0.0b1/modules/memcached.so' - /usr/local/src/memcached-2.0.0b1/modules/memcached.so: undefined symbol: memcached_result_flags in Unknown on line 0

=====================================================================
PHP         : /usr/bin/php
PHP_SAPI    : cli
PHP_VERSION : 5.2.14
ZEND_VERSION: 2.2.0
PHP_OS      : Linux - Linux 2134011.pubip.peer1.net 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64
INI actual  : /usr/local/src/memcached-2.0.0b1/tmp-php.ini
More .INIs  :
CWD         : /usr/local/src/memcached-2.0.0b1
Extra dirs  :
VALGRIND    : Not used
=====================================================================
TIME START 2011-03-21 21:37:29
=====================================================================
No tests were run.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-21 18:53 UTC] andrei@php.net
It doesn't look like it's finding the libmemcached library. 
Can you run ldd on /usr/local/src/memcached-
2.0.0b1/modules/memcached.so and paste the result here?
 [2011-03-22 09:37 UTC] steve dot fortin at cogecodiffusion dot com
You was right!

memcached-2.0.0b1 was looking for libmemcached at /usr/lib64

but my libmemcached was installed into /usr/local/lib.

so I reinstall & forced my libmemcached into /usr/lib64 then 
I recompiled & reinstalled my memcached-2.0.0b1 and it's 
working.

thanks
 [2013-05-06 12:43 UTC] palanisamy dot k at oracle dot com
Hi,

Description:
============
I have similar error. Could some one please help me to solve this?. I have 
installed following versions of Memcached and ibmemcached( i need this to enable 
igbinary support for Memcached)

memcached-1.0.2 
ibmemcached-0.39

PHP Version:5.2.10


Error:
=======
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/modules/memcached.so' - /usr/lib/php/modules/memcached.so: 
undefined symbol: zend_parse_parameters_none in Unknown on line 0



The output of my  "ldd /usr/lib/php/modules/memcached.so" command is below, and 
I do see the libmemcached file in the below location 
/usr/local/lib/libmemcached.so.8

Output:
======== 
ldd /usr/lib/php/modules/memcached.so
        linux-gate.so.1 =>  (0x00435000)
        libmemcached.so.8 => /usr/local/lib/libmemcached.so.8 (0x00e89000)
        libz.so.1 => /usr/lib/libz.so.1 (0x0068d000)
        libc.so.6 => /lib/libc.so.6 (0x00452000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00cb7000)
        librt.so.1 => /lib/librt.so.1 (0x00b2e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
        libm.so.6 => /lib/libm.so.6 (0x007e2000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00343000)
        /lib/ld-linux.so.2 (0x00903000)
        libdl.so.2 => /lib/libdl.so.2 (0x00c6f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x0084b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00762000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x001fb000)

-
Thanks
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 11:01:29 2025 UTC