dyld: Symbol not found: _SSLv2_client_method #5147

issue blackrabbit99 opened this issue on October 26, 2014
  1. blackrabbit99 commented at 9:48 AM on October 26, 2014: none
    dyld: Symbol not found: _SSLv2_client_method
      Referenced from: /usr/local/bin/bitcoind
      Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
     in /usr/local/bin/bitcoind
    [1]    9703 trace trap  bitcoind
    

    Following error occurs every time start any bitcoin command

  2. DomT4 commented at 4:07 PM on October 26, 2014: contributor

    Did you build Bitcoind with Homebrew's OpenSSL? In which case, We killed off SSLv2 a couple of months back completely, using the same method Debian/Ubuntu/Arch/etc do. That'll be why you're seeing this message.

  3. blackrabbit99 commented at 6:50 PM on October 26, 2014: none

    So homebrew's openssl dependency is incorrect?

  4. DomT4 commented at 6:58 PM on October 26, 2014: contributor

    In what sense?

    Bitcoin from the next version will be configured without SSLv2, per this commit.

    How & when did you build bitcoind? Unless you built it several months ago and haven't rebuilt it since then you shouldn't encounter this error. Your error message seems to hint that you installed it a fair while ago, because anything built with our newer OpenSSL wouldn't hit this error because bitcoind wouldn't expect to see SSLv2 available.

  5. blackrabbit99 commented at 7:04 PM on October 26, 2014: none

    The issue starts repro about week ago. Today i pull master again and repeat steps described into your REAMDE

  6. theuni commented at 7:08 PM on October 26, 2014: member

    I'm not sure why this would affect bitcoind. SSLv2_client_method should be a weak symbol there. At the very least the problem should go away after a recompile against the newer libssl, but I'm curious as to why you'd see it in the first place.

  7. theuni commented at 7:12 PM on October 26, 2014: member

    Ah, It comes from boost. Looking into this now.

  8. theuni commented at 7:39 PM on October 26, 2014: member

    Please try this: ./configure CPPFLAGS="-DOPENSSL_NO_SSL2". OpenSSL and Boost both respect that define.

    That should work for you, and should solve a few of our problems at once, actually. I'll work on a patch to hard-code this into our build.

  9. blackrabbit99 commented at 9:57 AM on October 27, 2014: none

    Using ./configure CPPFLAGS="-DOPENSSL_NO_SSL2" got problem with make

    Making all in src
    make[1]: Nothing to be done for `all-am'.
    
  10. theuni commented at 6:39 PM on October 27, 2014: member

    That's not a problem, it just means that your binaries have already been built. 'make clean' then 'make' again.

  11. blackrabbit99 commented at 10:29 PM on October 27, 2014: none

    the same issue, i'll wait for new release((

  12. theuni commented at 10:36 PM on October 27, 2014: member

    What is the "same issue"? If your program still crashes, it will likely crash in the next release as well if we don't track down the issue. Please use ./configure CPPFLAGS="-DOPENSSL_NO_SSL2" && make clean && make and report back with the results.

  13. laanwj commented at 11:37 AM on December 5, 2014: member

    Closing due to inactivity of OP

  14. laanwj closed this on Dec 5, 2014

  15. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-18 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me