Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Compiler error: / usr/bin/ld: cannot find-lc

Shulou Source: shulou.com Published: 2022-06-01 07:57:52 10月03日 Update

Occasionally encounter an error / usr/bin/ld: cannot find-lc while compiling, as follows:

The view is caused by not installing the static library glibc-static, which can be installed in the compilation:

Installation method:

Yum install glibc-static-y

Then the error will not be reported when compiling:

Tags: Compile method time error static Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker OPPO Reno vpn Shulou Tech Info