donbe
V2EX  ›  编程

mac下的openssl 调用HMAC函数, 需要链接那个dylib?

  •  
  •   donbe · Apr 30, 2012 · 5159 views
    This topic created in 5137 days ago, the information mentioned may be changed or developed.
    错误:

    Undefined symbols for architecture x86_64:
    "_EVP_sha1", referenced from:
    _hmacSha1 in functions.o
    "_HMAC", referenced from:
    _hmacSha1 in functions.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3685 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 04:45 · PVG 12:45 · LAX 21:45 · JFK 00:45
    ♥ Do have faith in what you're doing.