FWIW, this issue is restricted to building bitcoin with QT5. I haven't tried it with QT4. If I do --no-gui in configure, I can build headless bitcoin just fine. I was hoping to get to the bottom of this, however.
collect2: error: ld returned 1 exit status
Makefile:3628: recipe for target 'qt/bitcoin-qt' failed
make[2]: *** [qt/bitcoin-qt] Error 1
My libxcb-dri3 is updated to latest in Stretch
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxcb-dri3-dev is already the newest version (1.12-1).
Sometime Debian isn't the fastest at upgrading software. Is 1.12-1 a late enough version of libxcb-dri3? Is this a red herring? When I run "strings" on that so file, I see xcb_send_request_with_fds:
xcb_send_request
xcb_send_request_with_fds
So why is ld having a problem here? I'm a little lost.
EDIT:
I just removed the qt5 packages and rebuilt with qt4 and no issues. This is definitely not critical, but for my education I'd love to find out more about what's going on here.