Error compiling ofxNI2

Hi
I’m trying to compile a project using ofxNI2 and i get the following error:

error while loading shared libraries: libOpenNI2.so: cannot open shared object file: No such file or directory

This file exists in the addon folder.

I’ve followed all the steps in the github repositories.
I’m using qt creator on ubuntu 20.04.

Any idea?
thanks

fixed it copying libOpenNI2.so to /usr/lib