• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved php7 and memcached - again

What is the problem with Ubuntu?

Just tested it now. All works fine with 16.04 and php7.1, not sure that it works, but it is installed and enabled in Plesk now!
There were some dependencies and some other package names:
apt install plesk-php71-dev pkg-config zlib1g-dev libmemcached-dev

P.S. read also an article about server load reduction which is related to memcached php7.
 
Sorry for bumping an old thread, but I run into an issue. A customer wants Memcached on his PHP 7.0.

I followed the tutorial IgorG to the letter, however I run into a problem. When I run the 'make' command I get the following error:

Code:
php-memcached]# make
/bin/sh /tmp/php-memcached/libtool --mode=compile cc -I/opt/plesk/php/7.0/include/php    -I. -I/tmp/php-memcached -DPHP_ATOM_INC -I/tmp/php-memcached/include -I/tmp/php-memcached/main -I/tmp/php-memcached -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib   -c /tmp/php-memcached/php_memcached.c -o php_memcached.lo
libtool: compile:  cc -I/opt/plesk/php/7.0/include/php -I. -I/tmp/php-memcached -DPHP_ATOM_INC -I/tmp/php-memcached/include -I/tmp/php-memcached/main -I/tmp/php-memcached -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib -c /tmp/php-memcached/php_memcached.c  -fPIC -DPIC -o .libs/php_memcached.o
In file included from /tmp/php-memcached/php_memcached_private.h:28,
                 from /tmp/php-memcached/php_memcached.c:25:
/tmp/php-memcached/php_libmemcached_compat.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'php_memcached_instance_st'
/tmp/php-memcached/php_memcached.c:404: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/tmp/php-memcached/php_memcached.c:407: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/tmp/php-memcached/php_memcached.c: In function 'php_memc_mget_apply':
/tmp/php-memcached/php_memcached.c:684: warning: passing argument 4 of 'memcached_mget_by_key' from incompatible pointer type
/usr/include/libmemcached/memcached_get.h:38: note: expected 'char **' but argument is of type 'const char **'
/tmp/php-memcached/php_memcached.c:686: warning: passing argument 2 of 'memcached_mget' from incompatible pointer type
/usr/include/libmemcached/memcached_get.h:25: note: expected 'char **' but argument is of type 'const char **'
/tmp/php-memcached/php_memcached.c: In function 'zim_Memcached___construct':
/tmp/php-memcached/php_memcached.c:1206: warning: assignment makes pointer from integer without a cast
/tmp/php-memcached/php_memcached.c:1209: warning: assignment makes pointer from integer without a cast
/tmp/php-memcached/php_memcached.c: In function 'zim_Memcached_getServerList':
/tmp/php-memcached/php_memcached.c:2430: warning: assignment from incompatible pointer type
/tmp/php-memcached/php_memcached.c: In function 'zim_Memcached_getServerByKey':
/tmp/php-memcached/php_memcached.c:2441: error: 'php_memcached_instance_st' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:2441: error: (Each undeclared identifier is reported only once
/tmp/php-memcached/php_memcached.c:2441: error: for each function it appears in.)
/tmp/php-memcached/php_memcached.c:2441: error: expected ';' before 'server_instance'
/tmp/php-memcached/php_memcached.c:2452: error: 'server_instance' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:2459:87: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:2459: error: 'memcached_server_name' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:2460:77: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:2460: error: 'memcached_server_port' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c: In function 'zim_Memcached_getLastDisconnectedServer':
/tmp/php-memcached/php_memcached.c:2569: error: 'php_memcached_instance_st' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:2569: error: expected ';' before 'server_instance'
/tmp/php-memcached/php_memcached.c:2578: error: 'server_instance' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:2584:87: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:2584: error: 'memcached_server_name' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:2585:77: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:2585: error: 'memcached_server_port' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c: At top level:
/tmp/php-memcached/php_memcached.c:2620: error: expected ')' before 'instance'
/tmp/php-memcached/php_memcached.c:2630:68: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:2630:101: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c: In function 'zim_Memcached_getStats':
/tmp/php-memcached/php_memcached.c:2672: error: 's_stat_execute_cb' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c: In function 'zim_Memcached_getVersion':
/tmp/php-memcached/php_memcached.c:2699: warning: assignment from incompatible pointer type
/tmp/php-memcached/php_memcached.c: In function 'zim_Memcached_getAllKeys':
/tmp/php-memcached/php_memcached.c:2731: warning: assignment from incompatible pointer type
/tmp/php-memcached/php_memcached.c: In function 'php_memc_set_option':
/tmp/php-memcached/php_memcached.c:2857: error: 'MEMCACHED_INVALID_ARGUMENTS' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:2987: error: 'MEMCACHED_BEHAVIOR_MAX' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c: At top level:
/tmp/php-memcached/php_memcached.c:3351: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/tmp/php-memcached/php_memcached.c:3357:73: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c: In function 's_server_cursor_list_servers_cb':
/tmp/php-memcached/php_memcached.c:3357: error: 'memcached_server_name' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:3358:66: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:3358: error: 'memcached_server_port' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:3359: error: 'instance' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c: At top level:
/tmp/php-memcached/php_memcached.c:3370: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/tmp/php-memcached/php_memcached.c: In function 's_server_cursor_version_cb':
/tmp/php-memcached/php_memcached.c:3382: error: 'instance' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:3387:65: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:3387: error: 'memcached_server_name' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:3387:98: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/tmp/php-memcached/php_memcached.c:3387: error: 'memcached_server_port' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c: In function 'php_memc_register_constants':
/tmp/php-memcached/php_memcached.c:4166: error: 'LIBMEMCACHED_VERSION_HEX' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:4237: error: 'MEMCACHED_BEHAVIOR_TCP_KEEPALIVE' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:4306: error: 'MEMCACHED_E2BIG' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:4307: error: 'MEMCACHED_KEY_TOO_BIG' undeclared (first use in this function)
/tmp/php-memcached/php_memcached.c:4308: error: 'MEMCACHED_SERVER_TEMPORARILY_DISABLED' undeclared (first use in this function)
make: *** [php_memcached.lo] Error 1

Any idea?

The customer is on CentOS 6.9 (Final).

Thanks in advance.

//edit

I also tested the above on a server of ourselves, which is clean and also is running on CentOS 6.9 (Final). I get the same exact issue there... :S
 
Yeah, was without issues. I just ran the command on one of our own servers once again:

Code:
 ./configure --disable-memcached-sasl --with-php-config=/opt/plesk/php/7.0/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /opt/plesk/php/7.0
checking for PHP includes... -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt                                                                   /plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib
checking for PHP extension directory... /opt/plesk/php/7.0/lib64/php/modules
checking for PHP installed headers prefix... /opt/plesk/php/7.0/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable memcached support... yes, shared
checking for libmemcached... yes, shared
checking whether to enable memcached session handler support... yes
checking whether to enable memcached igbinary serializer support... no
checking whether to enable memcached json serializer support... no
checking whether to enable memcached msgpack serializer support... no
checking whether to enable memcached sasl support... no
checking whether to enable memcached protocol support... no
checking whether to use system FastLZ bibrary... no
checking for ZLIB... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking for zlib location... /usr
checking for session includes... /opt/plesk/php/7.0/include/php
checking for memcached session support... enabled
checking for memcached igbinary support... disabled
checking for memcached msgpack support... disabled
checking for libmemcached location... found version 0.31, under /usr
checking whether to enable sasl support... no
checking whether memcached_exist is defined... no
checking for memcached protocol support... disabled
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands

On a CentOS 7.x server it works all without issues, but using different commands there though (didn't work on CentOS 6.x obviously).

I offered the customer to redo the installation of his server with CentOS 7.x and Onyx as well. He didn't mind the downtime.
So there is no rush, but I still would like to know why it doesn't work on our servers with CentOS 6.x, because it should, right?
 
I suppose that this may be related to outdated gcc and g++ on CentOS6
Try to update it with

# yum install centos-release-scl
# yum install devtoolset-3-toolchain
# scl enable devtoolset-3 bash

After that try to compile module again. I hope it will help.
 
Thank you for your help, but still the exact same issue though:

Code:
make
/bin/sh /php-memcached/libtool --mode=compile cc -I/opt/plesk/php/7.0/include/php    -I. -I/php-memcached -DPHP_ATOM_INC -I/php-memcached/include -I/php-memcached/main -I/php-memcached -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib   -c /php-memcached/php_memcached.c -o php_memcached.lo
libtool: compile:  cc -I/opt/plesk/php/7.0/include/php -I. -I/php-memcached -DPHP_ATOM_INC -I/php-memcached/include -I/php-memcached/main -I/php-memcached -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/opt/plesk/php/7.0/include/php -I/opt/plesk/php/7.0/include/php/main -I/opt/plesk/php/7.0/include/php/TSRM -I/opt/plesk/php/7.0/include/php/Zend -I/opt/plesk/php/7.0/include/php/ext -I/opt/plesk/php/7.0/include/php/ext/date/lib -c /php-memcached/php_memcached.c  -fPIC -DPIC -o .libs/php_memcached.o
In file included from /php-memcached/php_memcached_private.h:28,
                 from /php-memcached/php_memcached.c:25:
/php-memcached/php_libmemcached_compat.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'php_memcached_instance_st'
/php-memcached/php_memcached.c:404: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/php-memcached/php_memcached.c:407: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/php-memcached/php_memcached.c: In function 'php_memc_mget_apply':
/php-memcached/php_memcached.c:684: warning: passing argument 4 of 'memcached_mget_by_key' from incompatible pointer type
/usr/include/libmemcached/memcached_get.h:38: note: expected 'char **' but argument is of type 'const char **'
/php-memcached/php_memcached.c:686: warning: passing argument 2 of 'memcached_mget' from incompatible pointer type
/usr/include/libmemcached/memcached_get.h:25: note: expected 'char **' but argument is of type 'const char **'
/php-memcached/php_memcached.c: In function 'zim_Memcached___construct':
/php-memcached/php_memcached.c:1206: warning: assignment makes pointer from integer without a cast
/php-memcached/php_memcached.c:1209: warning: assignment makes pointer from integer without a cast
/php-memcached/php_memcached.c: In function 'zim_Memcached_getServerList':
/php-memcached/php_memcached.c:2430: warning: assignment from incompatible pointer type
/php-memcached/php_memcached.c: In function 'zim_Memcached_getServerByKey':
/php-memcached/php_memcached.c:2441: error: 'php_memcached_instance_st' undeclared (first use in this function)
/php-memcached/php_memcached.c:2441: error: (Each undeclared identifier is reported only once
/php-memcached/php_memcached.c:2441: error: for each function it appears in.)
/php-memcached/php_memcached.c:2441: error: expected ';' before 'server_instance'
/php-memcached/php_memcached.c:2452: error: 'server_instance' undeclared (first use in this function)
/php-memcached/php_memcached.c:2459:87: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:2459: error: 'memcached_server_name' undeclared (first use in this function)
/php-memcached/php_memcached.c:2460:77: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:2460: error: 'memcached_server_port' undeclared (first use in this function)
/php-memcached/php_memcached.c: In function 'zim_Memcached_getLastDisconnectedServer':
/php-memcached/php_memcached.c:2569: error: 'php_memcached_instance_st' undeclared (first use in this function)
/php-memcached/php_memcached.c:2569: error: expected ';' before 'server_instance'
/php-memcached/php_memcached.c:2578: error: 'server_instance' undeclared (first use in this function)
/php-memcached/php_memcached.c:2584:87: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:2584: error: 'memcached_server_name' undeclared (first use in this function)
/php-memcached/php_memcached.c:2585:77: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:2585: error: 'memcached_server_port' undeclared (first use in this function)
/php-memcached/php_memcached.c: At top level:
/php-memcached/php_memcached.c:2620: error: expected ')' before 'instance'
/php-memcached/php_memcached.c:2630:68: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:2630:101: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c: In function 'zim_Memcached_getStats':
/php-memcached/php_memcached.c:2672: error: 's_stat_execute_cb' undeclared (first use in this function)
/php-memcached/php_memcached.c: In function 'zim_Memcached_getVersion':
/php-memcached/php_memcached.c:2699: warning: assignment from incompatible pointer type
/php-memcached/php_memcached.c: In function 'zim_Memcached_getAllKeys':
/php-memcached/php_memcached.c:2731: warning: assignment from incompatible pointer type
/php-memcached/php_memcached.c: In function 'php_memc_set_option':
/php-memcached/php_memcached.c:2857: error: 'MEMCACHED_INVALID_ARGUMENTS' undeclared (first use in this function)
/php-memcached/php_memcached.c:2987: error: 'MEMCACHED_BEHAVIOR_MAX' undeclared (first use in this function)
/php-memcached/php_memcached.c: At top level:
/php-memcached/php_memcached.c:3351: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/php-memcached/php_memcached.c:3357:73: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c: In function 's_server_cursor_list_servers_cb':
/php-memcached/php_memcached.c:3357: error: 'memcached_server_name' undeclared (first use in this function)
/php-memcached/php_memcached.c:3358:66: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:3358: error: 'memcached_server_port' undeclared (first use in this function)
/php-memcached/php_memcached.c:3359: error: 'instance' undeclared (first use in this function)
/php-memcached/php_memcached.c: At top level:
/php-memcached/php_memcached.c:3370: error: expected declaration specifiers or '...' before 'php_memcached_instance_st'
/php-memcached/php_memcached.c: In function 's_server_cursor_version_cb':
/php-memcached/php_memcached.c:3382: error: 'instance' undeclared (first use in this function)
/php-memcached/php_memcached.c:3387:65: error: macro "memcached_server_name" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:3387: error: 'memcached_server_name' undeclared (first use in this function)
/php-memcached/php_memcached.c:3387:98: error: macro "memcached_server_port" requires 2 arguments, but only 1 given
/php-memcached/php_memcached.c:3387: error: 'memcached_server_port' undeclared (first use in this function)
/php-memcached/php_memcached.c: In function 'php_memc_register_constants':
/php-memcached/php_memcached.c:4166: error: 'LIBMEMCACHED_VERSION_HEX' undeclared (first use in this function)
/php-memcached/php_memcached.c:4237: error: 'MEMCACHED_BEHAVIOR_TCP_KEEPALIVE' undeclared (first use in this function)
/php-memcached/php_memcached.c:4306: error: 'MEMCACHED_E2BIG' undeclared (first use in this function)
/php-memcached/php_memcached.c:4307: error: 'MEMCACHED_KEY_TOO_BIG' undeclared (first use in this function)
/php-memcached/php_memcached.c:4308: error: 'MEMCACHED_SERVER_TEMPORARILY_DISABLED' undeclared (first use in this function)
make: *** [php_memcached.lo] Error 1

Any other ideas?
 
Please double check that libmemcached-devel is really and correctly installed.
 
Sorry for the late reply, but was out a few days with the flu (still not feeling well, but duty calls...).

I am pretty sure that libmemcached-devel is correctly installed. Not much can go wrong with the use of yum for it imho.
See:

Code:
yum install  libmemcached-devel
Package libmemcached-devel-0.31-1.1.el6.x86_64 already installed and latest version

So that's not it. To make sure I removed it and reinstalled it again, but still the same issue...
 
Sorry for the late reply, but was out a few days with the flu (still not feeling well, but duty calls...).

I am pretty sure that libmemcached-devel is correctly installed. Not much can go wrong with the use of yum for it imho.
See:

Code:
yum install  libmemcached-devel
Package libmemcached-devel-0.31-1.1.el6.x86_64 already installed and latest version

So that's not it. To make sure I removed it and reinstalled it again, but still the same issue...
You have outdated version of this package. Have you read this post #7 ?
 
I actually did read that, however I thought those versions were even older and also it's for i686 not x86_64?
 
Install it for x86_64 if you have 64bit OS version. Look, by default there is very old version:

# rpm -qi libmemcached | grep "Build Date"
Release : 1.1.el6 Build Date: Fri 12 Nov 2010 02:48:23 AM NOVT
 
I really thought YUM would automatically install the latest version. My bad. :)
Sorry IgorG and thanks again for explaining. Will give this a new go. Highly appreciated.
 
Back
Top