ubuntu16.04安装mesos出现缺少licurl的解决方案
程序员文章站
2022-07-12 15:29:35
...
在ubuntu16.04下安装mesos,运行./configure 时,出现以下错误:
configure: error: cannot find libcurl
-------------------------------------------------------------------
libcurl is required for mesos to build.
-------------------------------------------------------------------
解决方案如下:
sudo apt install curl
如果运行 curl --version没有报错即可,如果显示以下错误:
curl: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
curl: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
运行:
$ sudo ln -fs /usr/lib/liblber-2.4.so.2 /usr/local/lib/
$ sudo ln -fs /usr/lib/libldap_r-2.4.so.2 /usr/local/lib/