libmemcached路径? [英] libmemcached path?

查看:145
本文介绍了libmemcached路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试遵循以下说明: (http://dev.mysql.com/doc/refman/5.1/en/ha-memcached-interfaces-mysqludf.html)

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

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

当我跑步时:

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

因此,我尝试按照上述说明设置LDFLAGS,但不知道"library_directory"路径.

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

我怎么找到它?

更新1:根据以下回复. libmemcached IS已安装:

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

谢谢

推荐答案

您缺少libmemcached-devel,它可能也需要标头.

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

这篇关于libmemcached路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆