I am also experiencing the same problem. I use OpenCV to read an image, process it, and then work with the raw data using OpenACC.
My OpenCV version is 4.6.0 and I use NVIDIA HPC SDK 22.5, which includes OpenACC and the corresponding compiler (nvc++). When I run my program, it prints “libgomp: TODO”, returning code 1. Does anyone know any workaround?