OpenCV Python on Snow Leopard Install Headache

asked 2012-10-16 12:35:04 -0500

XcodeWarrior1970 gravatar image

Hi all! I have been trying for 2 weeks to install OpenCV 2.4 via Terminal in Mac Snow Leopard and I am in desperate need of suggestions. I have been using Homebrew to install but it is not building.

1st Step - via Terminal, I tried to install but I received these error messages:

XcodeWarrior $ brew install opencv ==> Downloading Already downloaded: /Library/Caches/Homebrew/opencv-2.4.2.tar.bz2 ==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/openc ==> make ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * [lib/] Error 1 make[1]: [modules/python/CMakeFiles/opencv_python.dir/all] Error 2 make: ** [all] Error 2

Error: opencv did not build

2nd Step - I tried brew doctor in Terminal but received warnings:

Warning: "config" scripts exist outside your system or Homebrew directories. ./configure scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking.

Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. We found the following "config" scripts:


At this point I'm completely stumped. Can Anyone tell me what I'm not doing, or what I'm doing wrong? Thank you!

edit retag flag offensive close merge delete