Ubuntu 10.10 的软件包问题和乘客要求

Ubuntu 10.10 的软件包问题和乘客要求

我正在尝试让 Passenger 与Ubuntu 10.10(Maverick Meerkat),我遇到了一个问题。看来 Passenger 安装程序无法识别虚拟包。我收到此错误:

代码:

passenger-install-apache2-module
...
* OpenSSL support for Ruby... not found
...

然后它说,运行这个:

* To install OpenSSL support for Ruby:
   Please run apt-get install libopenssl-ruby as root.

当我运行上述命令时,它引用了 libruby 包:

sudo apt-get install libopenssl-ruby
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libruby' instead of 'libopenssl-ruby'
libruby is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.

当我查看 libruby 的详细信息时,它说它提供了 libopenssl-ruby:

代码:

Provides: libbigdecimal-ruby, libcurses-ruby, libdbm-ruby, libdl-ruby, libdrb-ruby, liberb-ruby, libgdbm-ruby, libiconv-ruby, libopenssl-ruby, libpty-ruby, libracc-runtime-ruby, libreadline-ruby, librexml-ruby, libsdbm-ruby, libstrscan-ruby, libsyslog-ruby, libtest-unit-ruby, libwebrick-ruby, libxmlrpc-ruby, libyaml-ruby, libzlib-ruby

当我重新运行 Passenger 安装程序时,它出现了同样的错误:

代码:

passenger-install-apache2-module
...
* OpenSSL support for Ruby... not found
...

如果您需要更多信息,请告诉我。我该如何解决这个问题?

答案1

您可能在安装 Ruby 时没有编译 SSL 支持。这可能是因为您没有先安装libssl-devopenssl包。我建议安装这些包,然后重新编译您的 Ruby 版本并重试。

相关内容