问题
I need to use npm together with building C++ application using curl++. npm cannot be installed with libcurl4-openssl-dev on Ubuntu. If I use libcurl4-nss-dev instead of libcurl4-openssl-dev, my code compiles sucessfully, but gives error "No URL set!" in the same situation, when it worked correctly on libcurl4-openssl-dev. How can I solve this?
回答1:
I have found a workaround: using libcurl4-gnutls-dev instead of libcurl4-nss-dev or libcurl4-openssl-dev.
来源:https://stackoverflow.com/questions/59927506/how-do-i-install-libcurl4-openssl-dev-together-with-libssl1-0-dev