Makefile 正在尝试生成rpm,收到ld错误

Makefile 正在尝试生成rpm,收到ld错误,makefile,centos,rpm,squid,Makefile,Centos,Rpm,Squid,我正在尝试从源代码安装squid。 我发出了make命令,但它在最后得到了这个错误: /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[3]: *** [basic_ncsa_auth] Error 1 make[3]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth/NCSA' make[2]: *** [all-recursive] E

我正在尝试从源代码安装squid。 我发出了make命令,但它在最后得到了这个错误:

/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[3]: *** [basic_ncsa_auth] Error 1
make[3]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth/NCSA'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.4.6/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/squid-3.4.6/helpers'
make: *** [all-recursive] Error 1

有什么办法解决这个问题吗?

您没有安装OpenSSL开发工具包

yum install openssl

yum安装openssl加载的插件:fastestmirror、priorities、,从缓存主机文件安全加载镜像速度*base:mirror.sov.uk.goscomb.net*epel:mirrors.coreix.net*extras:mirrors.coreix.net*remi:mirror.1000mbps.com*更新:mirrors.coreix.net设置安装过程包openssl-1.0.1e-16.el6_5.15.x86_64已安装,最新版本无需安装openssl-develDon别忘了添加BuildRequires:openssl-devel和一个版本,如果有关系的话。。。