I ask this because I have a couple installed and have some doubts if I am loading the right dynamic libraries.

This question is slightly different from these as they answer what is installed and not what your application is linking:

[Find OpenCV Version Installed on Ubuntu](https://stackoverflow.com/q/8804064/1085483) 

[How to check for openCV](https://stackoverflow.com/q/2422514/1085483)