On 07/14/2012 05:03 AM, Yongbiao Long wrote:
> Helllo, I followed the instructions from
> http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssh.html
> to build OpenSSH-6.0p1, but failed at the 'configure' step. The error
> message showed 'Can't find recent Openssl libcrypto'.
>
> Before I try to build OpenSSH-6.0p1, I've successfully installed
> OpenSSL-1.0.1c, Linux-PAM-1.1.5 and TCP Wrappers-7.6.
>
> The blfs book says:
>         OpenSSH is very sensitive to changes in the
>         linked OpenSSL libraries. If you recompile
>         OpenSSL, OpenSSH may fail to start up. An
>         alternative is to link against the static OpenSSL
>         library. To link against the static library, execute
>         the following command:
>           sed -i 's@-lcrypto@/usr/lib/libcrypto.a -ldl@' configure
>
> I found if I don't run this command, there would be no errors in
> 'configure', and no FATAL errors in the output of the test suite.
>
> What seems to be the problem?
>

It clearly says "... If you recompile OpenSSL ...". But that isn't the 
case anymore, not in 6.0. It was before. It happened that when you 
recompile OpenSSL and it version differs from the one that was used to 
build OpenSSH, OpenSSH would panic about OpenSSL version being different 
and fail to work.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to