Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protobuf build error on MacOS #35

Closed
eddyxu opened this issue Jul 18, 2022 · 1 comment
Closed

Protobuf build error on MacOS #35

eddyxu opened this issue Jul 18, 2022 · 1 comment
Labels
bug Something isn't working c++ C++ issues macOS Issues on macOS

Comments

@eddyxu
Copy link
Contributor

eddyxu commented Jul 18, 2022

Problem Statement

make failed on macOS , after protobuf being upgraded by homebrew

[ 82%] Built target io
[ 83%] Linking CXX shared library liblance.dylib
Undefined symbols for architecture arm64:
  "google::protobuf::internal::InternalMetadata::~InternalMetadata()", referenced from:
      google::protobuf::MessageLite::~MessageLite() in format.pb.cc.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [liblance.dylib] Error 1
make[1]: *** [CMakeFiles/lance.dir/all] Error 2
make: *** [all] Error 2

OS: macOS 12.4
Protobuf: 21.2 (Homebrew)
Arrow: 8.0.0_4 (Homebrew)

@eddyxu eddyxu added bug Something isn't working c++ C++ issues macOS Issues on macOS labels Jul 18, 2022
@eddyxu
Copy link
Contributor Author

eddyxu commented Jul 21, 2022

A new protobuf upgrade (21.3) fixed the problem.

@eddyxu eddyxu closed this as completed Jul 21, 2022
This was referenced Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c++ C++ issues macOS Issues on macOS
Projects
None yet
Development

No branches or pull requests

1 participant