[Mesa-dev] Mesa-8.0.2 libGL.so: undefined reference to `XGetXCBConnection'

jupiter.hce at gmail.com jupiter.hce at gmail.com
Mon Apr 16 05:15:16 PDT 2012


Hi,

I've just built Mesa-8.0.2 in a Linux box. Then there were errors of "libGL.so:
undefined reference to `XGetXCBConnection'" and "libGL.so: undefined
reference to `xcb_glx_client_info'" while I was compiling glew-1.7.0.

What was I missing in building Mesa-8.0.2?

$ ldd libGL.so
linux-gate.so.1 =>  (0x003d9000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00588000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x0016c000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x0097c000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x009ed000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x003a8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x006ea000)
libdl.so.2 => /lib/libdl.so.2 (0x00dad000)
libdrm.so.2 => /usr/local/mesa/lib/libdrm.so.2 (0x0023e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00248000)
libm.so.6 => /lib/libm.so.6 (0x00aa4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x008f5000)
libc.so.6 => /lib/libc.so.6 (0x003da000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00110000)
/lib/ld-linux.so.2 (0x0085f000)
librt.so.1 => /lib/librt.so.1 (0x0012e000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00137000)

Thank you.



More information about the mesa-dev mailing list