Ask Your Question

Revision history [back]

Can't I build another version?

I have version opencv4.1 and my co-worker have version opencv4.3. I made a shared library with opencv and gave it to him. But he got this error.

when compile

/usr/bin/ld: warning: libopencv_imgproc.so.4.1, needed by lib/libgbhealth.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libopencv_core.so.4.1, needed by lib/libgbhealth.so, not found (try using -rpath or -rpath-link)

when runtime

error while loading shared libraries: libopencv_imgproc.so.4.1: cannot open shared object file: No such file or directory

ldconfig is registered and also has an openv.conf in ll /etc/ld.so.conf.d/ But when ldconfig -p | grep imgproc, There was no indication of libopencv_imgproc.so.4.1.

Then, is the library that I made available only in version 4.1 of openv?