凡是遇到缺包问题几乎都可以用yum解决,注意在yum search时,结果带dev的包比较全
几个比较例外的如下:
/usr/bin/ld: cannot find -ly Byacc doesn't include (or need) a library.
If you are using byacc as your parser generator, just drop the "-ly" option. If you are using Bison, install the bison-devel package
/usr/bin/ld: cannot find -lssl
yum install openssl-devel.x86_64