V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
donbe
V2EX  ›  编程

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

  •  
  •   donbe · 2012-04-30 16:08:06 +08:00 · 4367 次点击
    这是一个创建于 4350 天前的主题,其中的信息可能已经有所发展或是发生改变。
    错误:

    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)
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   963 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:40 · PVG 04:40 · LAX 13:40 · JFK 16:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.