linux - error: openssl/opensslv.h: No such file or directory
PHP中文网
PHP中文网 2017-04-17 11:25:37
0
3
755

执行/usr/local/apache2/bin/apxs -c -a -i /usr/local/src/httpd-2.4.6/modules/ssl/mod_ssl.c

提示:error: openssl/opensslv.h: No such file or directory

我已经安装过openssl,为什么会提示这个错误呢

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
大家讲道理

Install OpenSSL-devel (may also be called OpenSSL-dev)

洪涛

Find the path where openssl/opensslv.h is stored
Then add the path in ld.conf.

左手右手慢动作

sudo apt-get install libssl-dev

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template