CURL命令报错:dyld: lazy symbol binding failed: Symbol not found: _SSL_load_error_strings解决办法

Mac OS X 10.11.6, curl 命令报错,错误如下:

dyld: lazy symbol binding failed: Symbol not found: _SSL_load_error_strings

Referenced from: /usr/local/lib/libcurl.4.dylib

Expected in: flat namespace

dyld: Symbol not found: _SSL_load_error_strings

Referenced from: /usr/local/lib/libcurl.4.dylib

Expected in: flat namespace

Trace/BPT trap: 5

解决办法:

One solution was provided here

The idea is to make a static build of curl and then paste it to you /usr/bin/ or /usr/local/bin/. Briefly:

  1. ~$ xcode-select --install
  2. Download the latest version of curl.
  3. cd to the directory and run

    ~$ ./configure --disable-shared --with-darwinssl --enable-threaded-resolver

    ~$ make -j `sysctl -n hw.logicalcpu_max`

  4. Copy the compiled curl, which is located in ./src/curl to you /usr/bin/

Note: In the make command in 3, the sign "`" is indeed back quote, not single quote.

原文地址:http://unix.stackexchange.com/questions/164637/trying-to-install-curl-with-homebrew-getting-incompatible-library-version-for

时间: 2024-12-17 23:15:32

CURL命令报错:dyld: lazy symbol binding failed: Symbol not found: _SSL_load_error_strings解决办法的相关文章

连接mysql报错Access denied for user 'root'@'localhost' (using password: YES)解决办法

1.打开MySQL目录下的my.ini文件,在文件的最后添加一行"skip-grant-tables"(免密码登录),保存并关闭文件,重启MySQL服务. 2.通过命令行进入MySQL的BIN目录,输入"mysql -u root -p"(不输入密码),回车即可进入数据库. 3.执行"use mysql;",使用mysql数据库. 4.修改密码:执行" update MySQL.user set authentication_strin

windows 2003 64位系统php运行报错:1%不是有效的win32应用程序解决办法

windows 2003 64位系统php运行报错:1%不是有效的win32应用程序 解决办法:运行-CMD cscript c:\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

【转】linux configure报错configure: error: C++ preprocessor “/lib/cpp” fails sanity 的解决办法

/lib/cpp fails sanity check的解决 在某些软件的时候,运行./configure 会报错,错误提示为: configure: error: C++ preprocessor “/lib/cpp” fails sanity  check See `config.log’ for more details 解决办法:出现该情况是由于c++编译器的相关package没有安装,以root用户登陆,在终端上执行: # yum install glibc-headers # yum

EF关于报错Self referencing loop detected with type的原因以及解决办法

1)具体报错 { "Message": "出现错误.", "ExceptionMessage": ""ObjectContent`1"类型未能序列化内容类型"application/json; charset=utf-8"的响应正文.", "ExceptionType": "System.InvalidOperationException", &q

启动tomcat报错 Could not reserve enough space for object heap的解决办法

问题:打开eclips启动tomcat发现报出Could not reserve enough space for object heap错误. 解决办法:1.首先检查tomcat是否能正常启动.remove掉tomcat里所有的项目启动.如果仍然有错就说明是tomcat有问题.删除tomcat 重新部署一个,即可解决.    2.如果启动tomcat没错,项目添加后有问题,就是jvm 溢出  内存不够.就要进行修改jvm内存启动即可.

dyld: lazy symbol binding failed: Symbol not found: ___sincosf_stret

This is the error I get: Referenced from: /var/mobile/Applications/7F199A75-88B8-4E16-ADF4-EA5201FDE66A/[bundleID].app/[bundleID] Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ___sincosf_stret Referenced from: /var/mobile/Applicatio

idea报错:error java compilation failed internal java compiler error

idea下面报如下问题 error java compilation failed internal java compiler error 解决办法:Setting->Compiler->Java Compiler,发现有的module是1.7的是1.6的,重新删除再导入好了

Eclipse Wowza 插件报 "The builder launch configuration could not be found" 错误的解决办法

前边有篇博客<Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法>介绍了 Eclipse 报错 "The builder launch configuration could not be found" 的解决办法,按那个办法处理之后,发现不报错了,但 ant 的自动构建没了.这样没法接受.        看来逃避是解决不了问题呢.所以觉得<Eclipse

记hbase list 命令报错zookeeper连接失败

hbase list 命令报错:zookeeper exists failed after 4 attempts $telnet h0082161 2181 Connected to 172.16.82.161.Escape character is '^]'. telnet connect by close foreign. 此时发现telnet h0082161 其他端口均正常,其他机器telnet h0082161 2181正常, 此时进入一个误区,一直在围绕telnet 服务查看,查看/