i am trying to build deepin-image-viewer but at the end i get this error
and don't understant why
can anyone help me out pls
/usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `TIFFSetSubDirectory'
/usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `TIFFSetTagExtender'
/usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `Imf_2_2::RgbaInputFile::~RgbaInputFile()'
/usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `TIFFSetDirectory'
/usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `PKFormatConverter_EnumConversions'
/usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `Iex_2_2::BaseExc::~BaseExc()'
/usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `GUID_PKPixelFormat128bppRGBAFloat'
this is my package file
name : deepin-image-viewer
version : 5.0.0
release : 1
source :
- git|https://github.com/linuxdeepin/deepin-image-viewer.git : 5.0.0
license : GPL-3.0-or-later
component : desktop.deepin
summary : Deepin Desktop Environment Image Viewer.
description: |
Deepin Image Viewer is Deepin Desktop Environment Image Viewer.
builddeps :
- freeimage-devel
- pkgconfig(dtkwidget)
- pkgconfig(gl)
- pkgconfig(libexif)
- pkgconfig(libraw)
- pkgconfig(Qt5Svg)
- pkgconfig(Qt5UiTools)
- pkgconfig(Qt5X11Extras)
- pkgconfig(x11)
- pkgconfig(xext)
- qt5-tools-devel
rundeps :
- deepin-qt5integration
- freeimage-devel
setup : |
%qmake PREFIX=%PREFIX% LIB_INSTALL_DIR=%libdir% QMAKE_CFLAGS_ISYSTEM=
build : |
%make
install : |
%make_install INSTALL_ROOT=$installdir