[Mesa-users] (/usr/lib/dri/swrast_dri.so: undefined symbol: _glapi_tls_Context)

Brian Paul brianp at vmware.com
Fri Jan 31 07:48:59 PST 2014


On 01/30/2014 07:13 AM, Anil Valmiki (RBEI/ECF3) wrote:
> Hi Everyone,
> When I run glxgear demo it gives “Error: couldn't open display (null)” .
> Then I checked /var/log/Xorg.0.log it was giving
> “[3833272.585] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so
> failed (/usr/lib/dri/swrast_dri.so: undefined symbol: _glapi_tls_Context) “
> Can any help me out.
> I have checked in many forum but no luck I didn’t found the correct
> solution.
> Have a nice day ,Thanks in advance.

This is usually a symptom of mixing incompatible libGL, libglapi, 
libdricore and/or swrast_dri.so files.  Some were probably build with 
TLS support and others without.

Did you build Mesa yourself and do a 'make install'?  Which distro? 
Depending on the distro, you may first have to remove the existing mesa 
components before installing new ones.

-Brian




More information about the mesa-users mailing list