ldconfig error: is not a symbolic link

后端 未结 5 745
梦如初夏
梦如初夏 2020-12-23 21:16

When running:

    sudo /sbin/ldconfig

the following error appears:

    /sbin/ldconfig: /usr/local/lib/ is not a symbolic li         


        
5条回答
  •  旧时难觅i
    2020-12-23 21:56

    You need to include the path of the libraries inside /etc/ld.so.conf, and rerun ldconfig to upate the list

    Other possibility is to include in the env variable LD_LIBRARY_PATH the path to your library, and rerun the executable.

    check the symbolic links if they point to a valid library ...

    You can add the path directly in /etc/ld.so.conf, without include...

    run ldconfig -p to see whether your library is well included in the cache.

提交回复
热议问题