When I give the following command
brew install homebrew/science/opencv
or
brew install opencv
I get the following message.
Warning: opencv-2.4.7.1 already installed, it's just not linked
Any idea how to fix this.
I already have the following in the .bash_profile
based on the links.
Installing openCV 2.4.2 on Mac OS X 10.9 (Mavericks)
export PYTHONPATH=/usr/local/Cellar/opencv/2.4.6.1/lib/python2.7/site-packages:$PYTHONPATH
Linking Python with Open CV on Mac
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
When I do a link using the following command, I get the following error.
$brew link opencv
Linking /usr/local/Cellar/opencv/2.4.7.1... Warning: Could not link opencv. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/opencv/2.4.7.1/lib/pkgconfig/opencv.pc
/usr/local/lib/pkgconfig is not writable. You should change its permissions.
Any ideas how to fix this ?
Thanks.