SuperBuild error at OTBQtWidget build step on Ubuntu 18.04 LTS
Description
SuperBuild error at OTBQtWidget build step on Ubuntu 18.04 LTS.
[ 76%] Linking CXX executable ../../../../bin/otbApplicationLauncherQt
//usr/lib/x86_64-linux-gnu/libpng16.so.16 : référence indéfinie vers « inflateValidate@ZLIB_1.2.9 »
collect2: error: ld returned 1 exit status
Modules/Wrappers/QtWidget/src/CMakeFiles/otbApplicationLauncherQt.dir/build.make:163: recipe for target 'bin/otbApplicationLauncherQt' failed
make[5]: *** [bin/otbApplicationLauncherQt] Error 1
CMakeFiles/Makefile2:18407: recipe for target 'Modules/Wrappers/QtWidget/src/CMakeFiles/otbApplicationLauncherQt.dir/all' failed
make[4]: *** [Modules/Wrappers/QtWidget/src/CMakeFiles/otbApplicationLauncherQt.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/OTB.dir/build.make:129: recipe for target 'OTB/src/OTB-stamp/OTB-build' failed
make[2]: *** [OTB/src/OTB-stamp/OTB-build] Error 2
CMakeFiles/Makefile2:395: recipe for target 'CMakeFiles/OTB.dir/all' failed
make[1]: *** [CMakeFiles/OTB.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Steps to reproduce
SuperBuild with this config:
export CC=`which gcc`; export CXX=`which g++`; cmake -D CMAKE_INSTALL_PREFIX=~/OTB/install -D DOWNLOAD_LOCATION=~/OTB/build/Downloads/ ../otb/SuperBuild; make
Configuration information
Ubuntu 18.04 LTS