Error: ImportError: /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block (i looked through available threads already)

Hi,

After you update the bashrc file, have you run the following command to reflash the device environment?

$ source ~/.bashrc

We met this issue before, and it can be solved by updating the LD_PRELOAD parameter:

$ export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1

Thanks.

1 Like