天天看點

linux問題收集

Problem:

<code>/usr/bin/ld: cannot find -lz</code>

Solution:

<code>yum install zlib-static</code>

<code>/usr/bin/ld: cannot find -lpthread</code>

<code>yum install glibc-static</code>

<code>/usr/bin/ld: cannot find -lstdc++</code>

<code>yum install libstdc++-static</code>

If you are using RHEL7, these are in the rhel-x86_64-server-optional-7 channel.

     本文轉自aaron428 51CTO部落格,原文連結:http://blog.51cto.com/aaronsa/1908454,如需轉載請自行聯系原作者

繼續閱讀