Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2014 10:24:10 +0200
From:      Zenny <garbytrash@gmail.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   opencv2 import problem with python
Message-ID:  <CACuV5sCnYrScft%2BQT80Qfg_4su73q3z3xo37B2m5tGOs_aX5aw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi:

I am trying to run opencv2 and installed it using the pkg binaries (opencv
and py27-opencv).

However when I try to import opencv2 module, it outputs:

"% python
Python 2.7.6 (default, Mar  4 2014, 19:30:28)
[GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] on
freebsd10
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python2.7/site-packages/cv2.so: Undefined
symbol "_ZTIN2cv15FeatureDetectorE"
>>>"

cv2.so file does exist. Any hints to run opencv2 in FreeBSD 10.0 will be
appreciated! Thanks!

/z



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACuV5sCnYrScft%2BQT80Qfg_4su73q3z3xo37B2m5tGOs_aX5aw>