/lib/aarch64-linux-gnu/libGLdispatch.so.0: cannot allocate memory in static TLS block

I go following error message

/lib/aarch64-linux-gnu/libGLdispatch.so.0: cannot allocate memory in static TLS block

How to solve this issue?

I see same issue in below post but there are differences. This issue is libGLdispatch.so.0 and ​that issue is libgomp.so.1

See:

Did you try :

LD_PRELOAD=/lib/aarch64-linux-gnu/libGLdispatch.so <your_app>
2 Likes

I used following code,

export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libGLdispatch.so.0:$LD_PRELOAD

rm ~/.cache/gstreamer-1.0/ -fr

Then tonny IDE is working but VS Code not working. I use code --no-sandbox command to run.

I also try your command like following,

LD_PRELOAD=/lib/aarch64-linux-gnu/libGLdispatch.so code --no-sandbox

and

LD_PRELOAD=/lib/aarch64-linux-gnu/libGLdispatch.so code

It is not working for VS Code.

I don’t have experience with such case, but you may see if you are using an envFile that would overide the current env, or try to create one:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.