Re: (/usr/lib/dri/swrast_dri.so: undefined symbol: _glapi_tls_Context)

Brian Paul <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.