rlm_cache_memcached not installing
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
On Mar 5, 2015, at 4:31 PM, Donald Sherker <dsherker@gmail.com> wrote:
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:
Which means it can’t find the memcached headers or libraries.
Here is the information on the memcached and libmemcached packages that are installed on the servers:
That’s not helpful. Where is libmemcached.so? Where are the header files?
I feel like I am missing something simple here and appreciate any help.
The packages install the memcache libraries and headers in a place where the system linker and compiler can’t find them. This isn’t a FreeRADIUS problem. Your system and/or the packages are broken. You *can* work around it by telling FreeRADIUS where the files are. But first you have to know where the files are. Alan DeKok.
participants (2)
-
Alan DeKok -
Donald Sherker