You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling tunsocks against libevent-2.1.12 fails with the following error messages:
/usr/bin/ld: src/http/http.o: in function `client_send_error':
/tmp/tunsocks/src/http/http.c:60: undefined reference to `evhttp_response_code_'
/usr/bin/ld: /tmp/tunsocks/src/http/http.c:69: undefined reference to `evhttp_send_page_'
/usr/bin/ld: src/http/http.o: in function `proxy_req_server_headers_done':
/tmp/tunsocks/src/http/http.c:136: undefined reference to `evhttp_response_code_'
The text was updated successfully, but these errors were encountered:
I have the same issue here (Arch Linux, libevent 2.1.12). I've found that recently Arch stopped providing a static library for libevent (libevent.a), which may explain why the issue is only appearing now. Since these functions are not part of the public API of libevent, they are not exported, and therefore you cannot rely on them being available when linking against the dynamic library (libevent.so). Would it be possible to use public functions instead?
bryango
added a commit
to bryango/arch-packages
that referenced
this issue
Dec 13, 2022
Compiling tunsocks against libevent-2.1.12 fails with the following error messages:
The text was updated successfully, but these errors were encountered: