看板 FB_stable 關於我們 聯絡資訊
Thanks John: I am getting the following: "% grep ZTIN2cv15FeatureDetectorE /usr/local/lib/* Binary file /usr/local/lib/libopencv_contrib.so matches Binary file /usr/local/lib/libopencv_contrib.so.2 matches Binary file /usr/local/lib/libopencv_contrib.so.2.4.7 matches Binary file /usr/local/lib/libopencv_features2d.so matches Binary file /usr/local/lib/libopencv_features2d.so.2 matches Binary file /usr/local/lib/libopencv_features2d.so.2.4.7 matches Binary file /usr/local/lib/libopencv_legacy.so matches Binary file /usr/local/lib/libopencv_legacy.so.2 matches Binary file /usr/local/lib/libopencv_legacy.so.2.4.7 matches Binary file /usr/local/lib/libopencv_stitching.so matches Binary file /usr/local/lib/libopencv_stitching.so.2 matches Binary file /usr/local/lib/libopencv_stitching.so.2.4.7 matches I am CCing this mail to jhale for his attention, who is reportedly the maintainer accoring to the ports Makefile. /z On Sun, Jun 29, 2014 at 10:34 AM, John-Mark Gurney <jmg@funkthat.com> wrote: > Zenny wrote this message on Sun, Jun 29, 2014 at 10:24 +0200: > > 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! > > Sounds like one of the libraries that cv2.so depends upon wasn't linked > w/ cv2.so... doing a: grep ZTIN2cv15FeatureDetectorE /usr/local/lib/* > should identify it, and you should report it to opencv2's maintainer > to fix.. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"