make的时候报错 lib找不到,发现yum已经安装了,发现是yum安装后没有链接
# ll /usr/lib|grep crypto
# ln -s /usr/lib/libcrypto.so.1.0.2k /usr/lib/libcrypto.so
make[2]: *** No rule to make target `/usr/lib/libcrypto.so', needed by `Utilities/cmcurl/curltest'. Stop.
make[1]: *** [Utilities/cmcurl/CMakeFiles/curltest.dir/all] Error 2
make: *** [all] Error 2
[root@localhost cmake-3.15.0-rc3]# ll /usr/lib|grep ssl
lrwxrwxrwx. 1 root root 29 May 18 2017 libevent_openssl-2.0.so.5 -> libevent_openssl-2.0.so.5.1.9
-rwxr-xr-x. 1 root root 23484 Jan 26 2014 libevent_openssl-2.0.so.5.1.9
-rwxr-xr-x. 1 root root 411096 Oct 14 11:41 libssl3.so
lrwxrwxrwx. 1 root root 25 Nov 10 11:10 libssl.so -> /usr/lib/libssl.so.1.0.2k
lrwxrwxrwx. 1 root root 16 Nov 9 19:32 libssl.so.10 -> libssl.so.1.0.2k
-rwxr-xr-x. 1 root root 429320 Oct 14 20:36 libssl.so.1.0.2k
drwxr-xr-x. 3 root root 21 Oct 14 20:36 openssl
[root@localhost cmake-3.15.0-rc3]# ll /usr/lib|grep crypto
lrwxrwxrwx. 1 root root 19 Nov 9 19:32 libcrypto.so.10 -> libcrypto.so.1.0.2k
-rwxr-xr-x. 1 root root 2033540 Oct 14 20:36 libcrypto.so.1.0.2k
lrwxrwxrwx. 1 root root 18 Nov 10 10:41 libk5crypto.so -> libk5crypto.so.3.1
lrwxrwxrwx. 1 root root 18 Nov 10 10:41 libk5crypto.so.3 -> libk5crypto.so.3.1
-rwxr-xr-x. 1 root root 213928 Oct 1 2020 libk5crypto.so.3.1
(reverse-i-search)`ln': ^C -s /usr/lib/libssl.so.1.0.2k /usr/lib/libssl.so
[root@localhost cmake-3.15.0-rc3]# ln -s /usr/lib/libcrypto.so.1.0.2k /usr/lib/libcrypto.so