facebook / fbthrift

Facebook's branch of Apache Thrift, including a new C++ server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linker error: libthriftcpp2.so: error: undefined reference to 'apache::thrift::TrustedServerException::unimplementedMethodError(char const*)'

donsbot opened this issue · comments

A recent change is causing linker errors when trying to link against libthriftcpp2.so (found when building hsthrift against fbthrift main both from source).

Two symbols are not found:

libthriftcpp2.so: error: undefined reference to 'apache::thrift::TrustedServerException::requestParsingError(char const*)'

and

libthriftcpp2.so: error: undefined reference to 'apache::thrift::TrustedServerException::unimplementedMethodError(char const*)

I can avoid this by building from commit b80cfa6 before the recent changes that added this new exception type.

Suspect something in 51a28d5 69a5041 etc.

This is caused by 51a28d5 and we are working on a fix. Thanks for reporting.

Fixed by abd5ad5