zoukankan      html  css  js  c++  java
  • compile php with openssl on mac osx error 填坑

    从源码手动编译 PHP 时出现如下错误:

    解决办法

    MakeFile 里面找到类似下面这一行:

    删除所有的 -lssl 和 -lcrypto 然后添加 libssl.dylib 和 libcrypto.dylib 的路径(如果你安装了 brew,那么则是 /usr/local/opt/openssl/lib/),重新运行 make 命令,done。

    附上我修改后的 MakeFile EXTRA_LIBS 那一行:

  • 相关阅读:
    SQL语句熟悉
    CSS3 attribute
    轮播器
    PHP 邮箱操作的Action
    Hole puncher Show Picture
    力扣算法——133.CloneGraph【M】
    力扣算法——134GasStation【M】
    力扣算法——135Candy【H】
    力扣算法——136SingleNumber【E】
    力扣算法——137SingleNumberII【M】
  • 原文地址:https://www.cnblogs.com/sunsky303/p/9090973.html
Copyright © 2011-2022 走看看