Project

General

Profile

Bug #3068

[opencv]: library needed by libopencv_imgcodecs.so.4.5 not found

avalos - about 2 months ago - .

Status:
unconfirmed
Priority:
bug
Assignee:
-
% Done:

0%


Description

  • steps to reproduce:
    I'm trying to build digiKam 7.3.0 from source (using makepkg), which requires OpenCV, as well as OpenEXR. PKGBUILD attached. I was going to create a freedom patch after it managed to build successfully, both with makepkg and libremakepkg.
  • expected result:
    The build should complete successfully.
  • actual result:
    It fails with this error:
/usr/bin/ld: warning: libIlmImf-2_5.so.25, needed by /usr/lib/libopencv_imgcodecs.so.4.5, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::globalThreadCount()'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::OutputFile::writePixels(int)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::InputFile::readPixels(int, int)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Header::dataWindow() const'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Header::~Header()'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::InputFile::setFrameBuffer(Imf_2_5::FrameBuffer const&)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::FrameBuffer::insert(char const*, Imf_2_5::Slice const&)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::ChannelList::findChannel(char const*) const'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Channel::Channel(Imf_2_5::PixelType, int, int, bool)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::hasChromaticities(Imf_2_5::Header const&)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Header::channels() const'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::InputFile::InputFile(char const*, int)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::FrameBuffer::begin()'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::FrameBuffer::end()'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::OutputFile::~OutputFile()'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::chromaticities(Imf_2_5::Header const&)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Header::channels()'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::OutputFile::OutputFile(char const*, Imf_2_5::Header const&, int)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::ChannelList::insert(char const*, Imf_2_5::Channel const&)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Slice::Slice(Imf_2_5::PixelType, char*, unsigned long, unsigned long, int, int, double, bool, bool)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::OutputFile::setFrameBuffer(Imf_2_5::FrameBuffer const&)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Header::Header(int, int, float, Imath_2_5::Vec2<float> const&, float, Imf_2_5::LineOrder, Imf_2_5::Compression)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::Chromaticities::Chromaticities(Imath_2_5::Vec2<float> const&, Imath_2_5::Vec2<float> const&, Imath_2_5::Vec2<float> const&, Imath_2_5::Vec2<float> const&)'
/usr/bin/ld: /usr/lib/libopencv_imgcodecs.so.4.5: undefined reference to `Imf_2_5::InputFile::header() const'
collect2: error: ld returned 1 exit status
make[2]: *** [core/app/CMakeFiles/digikam.dir/build.make:116: core/app/digikam] Error 1
make[1]: *** [CMakeFiles/Makefile2:10890: core/app/CMakeFiles/digikam.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Files

PKGBUILD (1.79 KB) PKGBUILD PKGBUILD avalos, 2021-07-26 06:12 PM

Also available in: Atom PDF