Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Mac 10.13.2 链接错误 #276

Open
stevegy opened this issue Jan 11, 2018 · 1 comment
Open

Mac 10.13.2 链接错误 #276

stevegy opened this issue Jan 11, 2018 · 1 comment

Comments

@stevegy
Copy link

stevegy commented Jan 11, 2018

Mac 10.13.2 brew 了openssl, export 了CPPFLAGS, LDFLAGS,

Undefined symbols for architecture x86_64:
  "_cache_add", referenced from:
      _download_write in baidupcs-shell.o
      _download_write_for_multy_thread in baidupcs-shell.o
  "_cache_flush", referenced from:
      _do_download in baidupcs-shell.o
      _download_write in baidupcs-shell.o
      _download_write_for_multy_thread in baidupcs-shell.o
  "_cache_init", referenced from:
      _do_download in baidupcs-shell.o
  "_cache_reset", referenced from:
      _download_write_for_multy_thread in baidupcs-shell.o
  "_cache_uninit", referenced from:
      _do_download in baidupcs-shell.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [baidupcs] Error 1
make: *** [all] Error 2
@stevegy
Copy link
Author

stevegy commented Jan 18, 2018

搞定了,可能需要改进一下readme,MAC需要automake:
brew install automake
然后 autoreconf 才可以跑,其他步骤就正常了。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant