douban / code

[DEPRECATED]Douban CODE

Home Page:http://douban-code.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install python-memcached Error

kitelife opened this issue · comments

@youngsterxyf 这是python-libmemcached的依赖系统库的问题,目前这方面文档还不全,你看一下这个的依赖你装了么 https://github.com/douban/python-libmemcached/blob/master/readme

@youngsterxyf 你说一下你的系统版本,我试试~

@xtao Linux suse-178-60 2.6.16.60-0.54.5-smp #1 SMP Fri Sep 4 01:28:03 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux ,谢谢!不过你不用专门去测试这个问题,估计是Linux版本比较老的问题,我再去自己的笔记本上试试。

@youngsterxyf 我也遇到了这个问题,ubuntu 12.04. 搜到了这个issue lericson/pylibmc#66 应该是libmemcached版本问题,好蛋疼。为毛ubuntu12.04上libmemcached的版本才0.44,更新好慢啊

commented

ubuntu 12.04 上这种包大部分还是自己编译方便……

2014-02-14 11:29 GMT+08:00 Kaifeng Jin notifications@github.com:

@youngsterxyf https://github.com/youngsterxyf 我也遇到了这个问题,ubuntu 12.04.
搜到了这个issue lericson/pylibmc#66https://github.com/lericson/pylibmc/issues/66应该是libmemcached版本问题,好蛋疼。为毛ubuntu12.04上libmemcached的版本才0.44,更新好慢啊


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-35052563
.

我下载了libmemcached 1.0.8打了要求的三个补丁编译安装后,成功安装好了requements.txt上的依赖,可是启动时会报错:ImportError: libmemcached.so.10: cannot open shared object file: No such file or directory 。
补充:貌似是libmemcached安装位置不对,/usr/local/lib/libmemcached.so.10 我是安装在这里,应该安装在哪?
试了下,在/usr/lib/ 里加了个ln -s就好了。。。终于启动了

编译时加上 --prefix=/usr 就好了

kingkf commented 9 hours ago
我下载了libmemcached 1.0.8打了要求的三个补丁编译安装后,成功安装好了requements.txt上的依赖,可是启动时会报错:ImportError: libmemcached.so.10: cannot open shared object file: No such file or directory 。
补充:貌似是libmemcached安装位置不对,/usr/local/lib/libmemcached.so.10 我是安装在这里,应该安装在哪?
试了下,在/usr/lib/ 里加了个ln -s就好了。。。终于启动了

python-memcached即将被替换掉. 详见 #67