[Bug 260613] graphics/opencv
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Dec 2021 15:04:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260613
Bug ID: 260613
Summary: graphics/opencv
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tcberner@freebsd.org
Reporter: valery@vslash.com
Flags: maintainer-feedback?(tcberner@freebsd.org)
Assignee: tcberner@freebsd.org
Any use of the opencv C++ library leads to a segfault (as for python3 too):
version.cpp:
#include <opencv2/opencv.hpp>
int main() {
std::cout << "The current OpenCV version is " << CV_VERSION << "\n";
return 0;
}
$ g++ -ggdb -o version `pkg-config --cflags --libs opencv4` version.cpp
$ ./version
Segmentation fault (core dumped)
gdb bt shows:
#0 0x00000008119ca938 in vtable for __cxxabiv1::__si_class_type_info () at
/lib/libcxxrt.so.1
I tried to build the port using WITH_DEBUG, but in this case, one cannot
compile anymore:
$ g++ -ggdb -o version `pkg-config --cflags --libs opencv4` version.cpp
/usr/local/bin/ld: /usr/local/lib/libopencv_sfm.so: undefined reference to
`google::base::CheckOpMessageBuilder::NewString[abi:cxx11]()'
collect2: error: ld returned 1 exit status
Using:
- FreeBSD-13.0-p5
- g++ (FreeBSD Ports Collection) 10.3.0
- opencv: 4.5.3_4
Any clue on this ? Thanks,
--
You are receiving this mail because:
You are the assignee for the bug.