gpt4 book ai didi

mysql - libmemcached 路径?

转载 作者:行者123 更新时间:2023-11-29 02:31:54 28 4
gpt4 key购买 nike

尝试遵循这些说明:(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

我在输出结束时得到这个:

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

所以我尝试按照上面的说明设置 LDFLAGS,但不知道“library_directory”路径。

我怎样才能找到它?

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

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,它可能也需要 header 。

关于mysql - libmemcached 路径?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11890826/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com