rlm_cache_memcached not installing

Donald Sherker dsherker at gmail.com
Thu Mar 5 22:31:39 CET 2015


I am using freeradius 3.0.7 and want to be able to use the
rlm_cache_memcached driver to cache data between two servers.  I have
memcached, memcached-devel, libmemcached, and libmemcached-devel
installed on the server.  When I compile freeradius i get the
following error:

=== configuring in ./drivers/rlm_cache_memcached
(/tmp/freeradius-server-3.0.x/src/modules/rlm_cache/./drivers/rlm_cache_memcached)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for libmemcached/memcached.h... yes
checking for memcached in -lmemcached... no
checking for memcached in -lmemcached in /usr/local/lib... no
checking for memcached in -lmemcached in /opt/lib... no
configure: WARNING: libmemcached libraries not found. Use
--with-libmemcached-lib-dir=<path>.
configure: WARNING: silently not building rlm_cache_memcached.
configure: WARNING: FAILURE: rlm_cache_memcached requires: libmemcached .

Here is the information on the memcached and libmemcached packages
that are installed on the servers:

========================================================================================================
 Package                                         Arch
                 Version
Repository                            Size
========================================================================================================
Installing:
 memcached-devel                                 x86_64
                 1.4.4-3.el6                                    base
                              8.8 k
Installing for dependencies:
 memcached                                       x86_64
                 1.4.4-3.el6                                    base
                               68 k

========================================================================================================
 Package                                           Arch
                  Version
Repository                           Size
========================================================================================================
Installing:
 libmemcached-devel                                x86_64
                  0.31-1.1.el6                                   base
                              116 k
Installing for dependencies:
 libmemcached                                      x86_64
                  0.31-1.1.el6                                   base
                               80 k


I feel like I am missing something simple here and appreciate any help.

Thanks,

Don


More information about the Freeradius-Users mailing list