Nginx + Passenger Error - libcurl.so.4:找不到版本`CURL_OPENSSL_3'

时间:2018-06-04 02:35:05

标签: nginx passenger ubuntu-18.04

系统:

  • Ubuntu: 18.04 LTS
  • 乘客: 5.3.1
  • nginxlibnginx-mod-http-passenger

$ sudo nginx -t

返回:

PassengerLoggingAgent: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by PassengerLoggingAgent)
2018/06/04 02:28:40 [alert] 10411#0: Unable to start the Phusion Passenger watchdog because it encountered the following error during startup: Unable to start the Phusion Passenger logging agent: it seems to have crashed during startup for an unknown reason, with exit code 1 (-1: Unknown error)

```

2 个答案:

答案 0 :(得分:5)

如果您不依赖于已使用版本4的其他软件,您可以从bionic存储库安装所需的版本3:

sudo apt install libcurl3/bionic

这将要求您删除 curl 本身, libcurl4 和dependend软件。在删除它们之前,请仔细考虑是否需要它们。

您仍然可以通过再次安装 libcurl4 和已删除的软件来回滚。

答案 1 :(得分:0)

这解决了我的问题:

sudo apt install libcurl4-openssl-dev