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

Hi
I am encountering this bug when using the latest docker images (e.g. stereolabs/zed:3.8-py-devel-jetson-jp5.0.2) when importing pyzed. I am on an ORIN AGX, latest sw.

I have tried using the workaround that I have found on the web:export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1, but no luck.

Any help would be appreciated. Thx!

For what it is worth, I found this thread: aarch64: libgomp.so.1: cannot allocate memory in static TLS block · Issue #14884 · opencv/opencv · GitHub, and by putting my import cv2 after import pyzed, it worked. So I am good to go, but I have to say it is all a bit sketchy.

1 Like