Ask Your Question

kamjagin's profile - activity

2014-03-31 18:21:10 -0600 received badge  Necromancer (source)
2014-03-19 18:58:40 -0600 received badge  Editor (source)
2014-03-19 18:57:18 -0600 answered a question OpenCV (master) - Cuda 5.5 - OS X 10.9 -- Python - malformed mach-o image

I had the same problem. It seems that cmake 2.8.12.2 corrupts the libs during rpath modification (throwing in two identical LC_RPATHs.)

Two different (but similar :) ) solutions:

  1. Downgrading cmake (I tested 2.8.11.2 and it works).
  2. Although I haven't tested this, it is likely that the problem can also be solved by upgrading to a cmake version after this commit: http://cmake.org/gitweb?p=cmake.git;a=commit;h=08141a5
2014-03-08 04:34:41 -0600 received badge  Supporter (source)