libcurl.so.4: no version information available 问题

参考:https://www.htcp.net/3766.html

1.问题

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

2.解决方案

  1. 确定libcurl 的位置
    locale libcurl.so.4
    /usr/lib/x86_64-linux-gnu/libcurl.so.4
    /usr/lib/x86_64-linux-gnu/libcurl.so.4.3.0
    /usr/local/lib/libcurl.so.4
    /usr/local/lib/libcurl.so.4.4.0

     

  2. 删掉冲突的软链接
    rm -rf /usr/local/lib/libcurl.so.4

     

  3. 将 4.3.0 的静态库链接
    ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4.3.0 /usr/local/lib/libcurl.so.4

     

  4. 验证
    ls -l /usr/local/lib/libcurl.so.4

     

 

上一篇:ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - HikariPool-1 - Connection is not available,


下一篇:Parameter 'xxx' not found. Available parameters are [1, 0, param1, param2]