I met some issue when linking to dependencies after installing them into a custom folder.
Here is the case :
I build from scratch OpenCV and install it into a fold