Libenent: configure: error: openssl is a must but can not be found.

libevent库
执行./configure 时出现以下错误:
在这里插入图片描述
configure: error: openssl is a must but can not be found. You should add the directory containing ‘openssl.pc’ to the PKG_CONFIG_PATH’ environment variable, or set ‘CFLAGS’ and ‘LDFLAGS’ directly for openssl, or use ‘–disable-openssl’ to disable support for openssl encryption

解决方案:
ubuntu 平台 sudo apt install libssl-dev

Guess you like

Origin blog.csdn.net/weixin_44515978/article/details/120066911