Installed ndicapi on two computers (laptop and raspberry pi). In both cases after running sudo make install and then python ndiBasicExample.py python was not able to find the shared library located at /usr/local/lib/libndicapi.so.
To fix this I had to run the command export LD_LIBRARY_PATH=/usr/local/lib.
Is is possible to use a more suitable location than /usr/local/lib so that users do not have to do this extra export LD_LIBRARY_PATH=/usr/local/lib step.