racket-opencv icon indicating copy to clipboard operation
racket-opencv copied to clipboard

libopencv_core.so: undefined symbol: cvRegisterType

Open michaelmariaott opened this issue 2 years ago • 1 comments

When trying to (require opencv/core), I get the error:

../../usr/share/racket/collects/ffi/unsafe.rkt:255:20: ffi-obj: could not find export from foreign library
  name: cvRegisterType
  library: libopencv_core.so
  system error: /lib64/libopencv_core.so: undefined symbol: cvRegisterType

System: Linux/OpenSuse Tumbleweed, DrRacket, OpenCV 4.0.7

michaelmariaott avatar Apr 20 '23 06:04 michaelmariaott

My guess is, cvRegisterType was probably renamed or removed from OpenCV. That change should be mirrored in the racket bindings.

oetr avatar Apr 21 '23 07:04 oetr