donbe
V2EX  ›  编程

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

  •  
  •   donbe · Apr 30, 2012 · 5356 views
    This topic created in 5229 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   ·   1079 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:01 · PVG 07:01 · LAX 16:01 · JFK 19:01
    ♥ Do have faith in what you're doing.