donbe
V2EX  ›  编程

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

  •  
  •   donbe · Apr 30, 2012 · 5361 views
    This topic created in 5233 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   ·   Privacy   ·   Solana   ·   1168 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 17:57 · PVG 01:57 · LAX 10:57 · JFK 13:57
    ♥ Do have faith in what you're doing.