openssh安装_编译openssh出现报错configure: error: OpenSSL library not found.


openssh安装_编译openssh出现报错configure: error: OpenSSL library not found. 报错信息是库找不到 有可能是openssl安装时出现问题 与openssh默认的包位置存在区别.此时需要在openssh.spec文件中 configure中进行配置 --with-ssl-dir=xxxxx openssl安装的位置 具体配置文件如下

点击查看代码
%configure \
        --sysconfdir=%{_sysconfdir}/ssh \
        --libexecdir=%{_libexecdir}/openssh \
        --datadir=%{_datadir}/openssh \
        --with-default-path=/usr/local/bin:/bin:/usr/bin \
        --with-superuser-path=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin \
        --with-privsep-path=%{_var}/empty/sshd \
        --mandir=%{_mandir} \
        --with-mantype=man \
        --disable-strip \
        --with-ssl-dir=/usr/local/openssl \
        --with-zlib=/usr/local/zlib \
        --without-hardening \


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM