curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)

sudo ln -fs /usr/lib/libcurl.so.4 /usr/local/lib/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
This error message suggests that the version of libcurl installed on your system is not compatible with the version of CMake you are using. To resolve this issue, you can try the following steps: 1. Verify libcurl installation: Check if libcurl is installed on your system by running the command `curl-config --version`. If libcurl is not installed or the version is outdated, consider installing or updating it using a package manager like apt or yum. 2. Check library path: Make sure that the library file `libcurl.so.4` is present in the specified path `/home/ubuntu/workplace/xcruise/release/x86/lib/`. If the file is missing, you may need to reinstall libcurl or ensure that it is properly installed in the correct location. 3. Update LD_LIBRARY_PATH: Set the `LD_LIBRARY_PATH` environment variable to include the path where libcurl is located. You can do this by running the following command: ``` export LD_LIBRARY_PATH=/home/ubuntu/workplace/xcruise/release/x86/lib:$LD_LIBRARY_PATH ``` This ensures that CMake can find and use the correct version of libcurl. 4. Rebuild CMake: If the issue persists, you may need to rebuild CMake with the correct version of libcurl. Download the source code of CMake, extract it, and then configure and build it with the appropriate options to link against the correct version of libcurl. If these steps do not resolve the issue, please provide more details about your system and the specific context in which you are encountering this error, so that I can assist you further.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值