2012-08-09 3 views
2

Essayer de suivre les instructions suivantes: (http://dev.mysql.com/doc/refman/5.1/en/ha-memcached-interfaces-mysqludf.html)chemin libmemcached?

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 

Quand je lance:

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

je reçois ceci à la fin de la production:

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

J'ai donc essayé de mettre LDFLAGS comme indiqué ci-dessus, mais ne savent pas le chemin « library_directory ».

Comment le trouver?

Mise à jour 1: Selon la réponse ci-dessous. libmemcached est installé:

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 

Merci

Répondre

2

Vous êtes absent libmemcached-devel, il a probablement besoin des en-têtes aussi.

+0

... Merci monsieur! – Hayden

+0

Maintenant, je reçois ... args.c: 7: 19: erreur: mysql.h: Aucun fichier ou répertoire sur "sudo make" ouvrira un nouveau ticket – Hayden

Questions connexes