libmemcached path?

Trying to follow these instructions: (http://dev.mysql.com/doc/refman/5.1/en/ha-memcached-interfaces-mysqludf.ht…)

shell> tar zxf memcached_functions_mysql-1.1.tar.gz shell> cd memcached_functions_mysql-1.1 shell> # If memcached library is not found, set LDFLAGS=-Llibrary_directory before next command. shell> ./configure --with-mysql=/usr/local/mysql/bin/mysql_config

When I run:

sudo ./configure --with-mysql=/usr/lib64/mysql/mysql_config

I get this at the end of output:

checking for libmemcached >= 0.17... configure: error: libmemcached not found

So I tried to set LDFLAGS as instructed above but don't know the "library_directory" path.

How can I find it?

Update 1: As per response below. libmemcached IS installed:

sudo yum install libmemcached Loaded plugins: downloadonly, replace, rhnplugin, security epel | 3.7 kB 00:00 ius | 2.2 kB 00:00 rackspace-rhel-x86_64-server-5.6.z-common | 871 B 00:00 rhel-x86_64-server-5.6.z | 1.3 kB 00:00 Excluding Packages in global exclude list Finished Setting up Install Process Package libmemcached-0.31-1.1.el5.x86_64 already installed and latest version Nothing to do



You're missing libmemcached-devel, it probably needs headers too.


  • What are LINK.cpp / COMPILE.cpp Variables good for in make?
  • Building using Makefile: picks file.c instead of file.cpp even though specified explicitly
  • How to change current directory in Make
  • ld: library not found for -lboost_python on MacOS
  • How to make the target depend on lib file, but exclude it from $^ (VPATH involved)?
  • GTK+ compilation undefined reference C
  • Tutorial for installing numpy with OpenBLAS on Windows
  • Compile ffmpeg as stand alone binary
  • Modifying files nested in tar archive
  • why calling cd shell command through system() or execvp() from a child process won't work?
  • what does prefix @- mean in makefile?
  • Write output of for loop to multiple files
  • How do I retrieve the user information of a user authenticated with Apache's mod_ldap?
  • Error in installing package: fatal error: stdlib.h: no such file or directory
  • nodemcu custom firmware build problems
  • Android Studio Can't Find tools.jar
  • npm 5.4.1 install/uninstall all failing
  • Convert SQLite database to XML
  • cygwin cannot exec 'git-add--interactive' permission denied
  • How do I configure context broker accept post requests from my remote sensor?
  • Eclipse CDT error: Unable to compile
  • error importing numpy
  • ADO and msqli connections very slow
  • PHP buffered output depending on server setting?
  • Combining SpatialPolygonsDataFrame of two neighbour countries
  • Jenkins: How To Build multiple projects from a TFS repository?
  • How do I fake an specific browser client when using Java's Net library?
  • swift auto completion not working in Xcode6-Beta
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Adding custom controls to a full screen movie
  • Why winpcap requires both .lib and .dll to run?
  • Apache 2.4 - remove | delete | uninstall
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • How to set the response of a form post action to a iframe source?
  • Change div Background jquery
  • Qt: Run a script BEFORE make
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • reshape alternating columns in less time and using less memory
  • costura.fody for a dll that references another dll