I'm trying to compile xkbcomp (from xorg App) but I got the following errors :
warning: libxcb.so.1, needed by /lib/libX11.so, not found (try using -rpath or -rpath-link)
/lib/libX11.so: undefined reference to `xcb_connection_has_error'
/lib/libX11.so: undefined reference to `xcb_poll_for_reply'
/lib/libX11.so: undefined reference to `xcb_get_maximum_request_length'
/lib/libX11.so: undefined reference to `xcb_get_file_descriptor'
/lib/libX11.so: undefined reference to `xcb_connect'
/lib/libX11.so: undefined reference to `xcb_wait_for_reply'
/lib/libX11.so: undefined reference to `xcb_get_setup'
/lib/libX11.so: undefined reference to `xcb_wait_for_event'
/lib/libX11.so: undefined reference to `xcb_poll_for_event'
/lib/libX11.so: undefined reference to `xcb_parse_display'
/lib/libX11.so: undefined reference to `xcb_generate_id'
/lib/libX11.so: undefined reference to `xcb_disconnect'
/lib/libX11.so: undefined reference to `xcb_take_socket'
/lib/libX11.so: undefined reference to `xcb_writev'
/lib/libX11.so: undefined reference to `xcb_connect_to_display_with_auth_info'
Note: libX11 and libxcb are successfully been compiled (using autotools) and I got all my ".so" shared libraries and header files. But the problem still existing.
How can I solve that??
I had solve the problem, I needed just to add "-lxcb" to my LDFLAGS. Now, it works fine. Thanks –
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With