passenger-nginx-module找不到`curl-config`命令

时间:2014-12-28 15:47:42

标签: nginx ubuntu-12.04 passenger

任何人都可以帮助我:

rvmsudo passenger-install-nginx-module

现在它显示了这个:     检查所需的软件......

 * Checking for Curl development headers with SSL support...
      Found: no
      Error: Cannot find the `curl-config` command.
Installation instructions for required software

 * To install Curl development headers with SSL support:
   Please run apt-get install libcurl4-openssl-dev or libcurl4-gnutls-dev, whichever you prefer.

现在我正在尝试安装

sudo apt-get install libcurl4-openssl-dev

主要问题:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libcurl4-openssl-dev

1 个答案:

答案 0 :(得分:-2)

也许您需要运行“apt-get update'首先是为了更新你的包数据库。