libmemcached mysql,libmemcached路径?

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

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

Thanks

解决方案

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值