donbe
V2EX  ›  编程

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

  •  
  •   donbe · Apr 30, 2012 · 5210 views
    This topic created in 5167 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   ·   5002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:58 · PVG 11:58 · LAX 20:58 · JFK 23:58
    ♥ Do have faith in what you're doing.