ubuntu configure时总是报configure: error: readline library not found.

作者:笨小孩 发布于:2012-10-18 15:12 分类:操作系统

在ubuntu 8.10下编译totem,configure时总是报configure: error: readline library not found.
If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn’t looking in the proper directory. Use –without-readline to disable readline support.
但通过ldconfig -p | grep readline 查看时,发现系统中已经安装了readline.
在网上搜了一下发现原因是:
You need the development libraries, not only the runtime ones. Try installing libreadline5-dev.
安装了下就ok了(sudo apt-get install libreadline5-dev).
另一个error是zlib的,同样安装一下就ok了(sudo apt-get install zlib1g-dev).

标签: readline ubuntu

发表评论:

手机版 | 
Copyright © 2012 lamp46.com All Right Reserved. sitemap