How do I install libcurl4-openssl-dev together with libssl1.0-dev?

南笙酒味 提交于 2021-01-29 14:52:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!