statically linked applications requires at runtime the shared libraries from the glibc version used for linking。

此错误是因为gcc编译选项中有static相关参数,此参数禁止gcc编译时使用动态库,即使-lXXXX也不行。

此时,把此static选项去掉程序即可通过编译

Logo

更多推荐