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

Error linking with folly when building Proxygen on Mac OS #537

Open
VinothParamaguru opened this issue Nov 16, 2024 · 0 comments
Open

Error linking with folly when building Proxygen on Mac OS #537

VinothParamaguru opened this issue Nov 16, 2024 · 0 comments

Comments

@VinothParamaguru
Copy link

VinothParamaguru commented Nov 16, 2024

Hi

Could someone please help me with the errors below. I'm trying build the EchoServer that comes as part of proxygen.
I have not installed proxygen from the source, but have used vcpkg to link the dependencies.

"EchoService::EchoHandler::EchoHandler(EchoService::EchoStats*)", referenced from:
EchoHandlerFactory::onRequest(proxygen::RequestHandler*, proxygen::HTTPMessage*) in EchoServer.cpp.o
"proxygen::HTTPServer::bind(std::__1::vector<proxygen::HTTPServer::IPConfig, std::__1::allocatorproxygen::HTTPServer::IPConfig> const&)", referenced from:
_main in EchoServer.cpp.o
"proxygen::HTTPServer::start(std::__1::function<void ()>, std::__1::function<void (std::exception_ptr)>, std::__1::function<std::__1::shared_ptrwangle::AcceptorFactory (proxygen::HTTPServer::AcceptorFactoryConfig)>, std::__1::shared_ptrfolly::IOThreadPoolExecutorBase)", referenced from:
main::$_0::operator()() const in EchoServer.cpp.o
"proxygen::HTTPServer::HTTPServer(proxygen::HTTPServerOptions)", referenced from:
_main in EchoServer.cpp.o
"proxygen::HTTPServer::~HTTPServer()", referenced from:
_main in EchoServer.cpp.o
"__cxa_decrement_exception_refcount", referenced from:
folly::detail::exception_cleanup
(Unwind_Reason_Code, Unwind_Exception*) in libfolly.a(Exception.cpp.o)
"cxa_increment_exception_refcount", referenced from:
folly::detail::exception_ptr_get_type
(std::exception_ptr const&) in libfolly.a(Exception.cpp.o)
folly::detail::exception_ptr_get_object
(std::exception_ptr const&, std::type_info const*) in libfolly.a(Exception.cpp.o)
folly::detail::make_exception_ptr_with
(folly::detail::make_exception_ptr_with_arg
const&, void*) in libfolly.a(Exception.cpp.o)
decltype(auto) folly::detail::cxxabi_with_cxa_exception<folly::detail::exception_cleanup
(_Unwind_Reason_Code, _Unwind_Exception*)::$1>(void*, folly::detail::exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*)::$_1) in libfolly.a(Exception.cpp.o)
ld: symbol(s) not found for architecture x86_64

I'm using Mac OS 13.7.1 (22H221)

Thanks.

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

No branches or pull requests

1 participant