pybind11 build by setup.py undefined symbol error #3245
Unanswered
cumtqiangqiang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My env :centos7 gcc 4.8.5
After I build pybind11 module by pip setup.py,I import this module ,I found this error.
undefined symbol: _ZNK6google8protobuf7Message11GetTypeNameEv (build/lib.linux-x86_64-3.8/reader.cpython-38-x86_64-linux-gnu.so)
I think This may have something to do with GCC version(-D_GLIBCXX_USE_CXX11_ABI),I set this param in setup.py file,but it seems doesnot work.Can you give me some advice ,thanks
Beta Was this translation helpful? Give feedback.
All reactions