I had to compile
OpenCV 2.4 on my machine. How to make applications installed from synaptic do not ask to install
OpenCV 2.3 libs dependencies (since
2.4 is already installed in the system)?
The answer is simple (but it is more complicated to follow it):
you have to create a debian package of the code you compiled (OpenCV 2.4) and install that package. This way the package manager knows that the package exists.
Guides on how to create a package are:
There also seems to be a fake version of the above: create a package that pretends to be OpenCV 2.4 and install this package. How to do this is explained here