First time here? Check out the FAQ!
answered 2018-07-11 03:16:42 -0600
It seems like a linker problem. Do you see OpenCV if you do pkg-config --libs opencv ? Moreover, you are on VirtualEnv or something like that and it could happen that it is seeing another OpenCV version.
pkg-config --libs opencv