search

Home  >  Q&A  >  body text

linux - error: openssl/opensslv.h: No such file or directory

执行/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中文网2786 days ago754

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 11:27:37

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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 11:27:37

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

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 11:27:37

    sudo apt-get install libssl-dev

    reply
    0
  • Cancelreply