linuxlibcurlconfigure

configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lssh2 -lssl -lcrypto -lz


env: centos7 install curl

when i start install curl and ./configure --with-ssl --with-zlib, i occurs errors about libs, what mean about link-time? it's env set? i have no any experience about installtaion by make, needed to install other package? how to fix it?

./configrue --with-ssl --with-zlib

accurs errors:

checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available 
run-time. Libs used at link-time: -lssh2  -lssl -lcrypto -lz

Solution

  • the errors occur bebause of openssl install

    after installed openssl, should check up while it usefully when i input openssl version, it show same unkown path errors

    so, u should set:

    ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1
    ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1
    

    it worked!