OTB-6.6.1 general failure on Debian
Description
After installing https://www.orfeo-toolbox.org/packages/nightly/latest/OTB-6.6.1-Linux64.run
I cannot run any otbcli command:
Steps to reproduce
alobo@Delia:~$ . /home/alobo/OTB-6.6.1-Linux64/otbenv.profile
alobo@Delia:~$ otbcli
/home/alobo/OTB-6.6.1-Linux64/bin/otbApplicationLauncherCommandLine: symbol lookup error: /home/alobo/OTB-6.6.1-Linux64/bin/otbApplicationLauncherCommandLine: undefined symbol: _ZN3otb20ConfigurationManager17InitOpenMPThreadsEv
It does work with OTB-6.6.0:
alobo@Delia:~$ . /home/alobo/OTB-6.6.0-Linux64/otbenv.profile
alobo@Delia:~$ otbcli
Usage: /home/alobo/OTB-6.6.0-Linux64/bin/otbApplicationLauncherCommandLine module_name [MODULEPATH] [arguments]
Configuration information
alobo@Delia:~$ uname -a
Linux Delia 4.16.0-2-amd64 #1 SMP Debian 4.16.12-1 (2018-05-27) x86_64 GNU/Linux
alobo@Delia:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (buster)
Release: testing
Codename: buster
alobo@Delia:~$ cat /etc/debian_version
buster/sid
alobo@Delia:~$ . /home/alobo/OTB-6.6.1-Linux64/otbenv.profile
alobo@Delia:~$ $PATH
bash: /home/alobo/OTB-6.6.1-Linux64/bin:/home/alobo/OTB-6.6.1-Linux64/bin:/home/alobo/OTB-6.6.1-Linux64/bin:/home/alobo/OTB-6.6.1-Linux64/bin:/home/alobo/seadas-7.5.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory
alobo@Delia:~$ ldd otbApplicationLauncherCommandLine | grep libgomp
ldd: ./otbApplicationLauncherCommandLine: No such file or directory
alobo@Delia:~$ ldd /home/alobo/OTB-6.6.1-Linux64/bin/otbApplicationLauncherCommandLine | grep libgomp
libgomp.so.1 => /home/alobo/OTB-6.6.1-Linux64/lib/libgomp.so.1 (0x00000036bba00000)
alobo@Delia:~$ ldd /home/alobo/OTB-6.6.1-Linux64/bin/otbApplicationLauncherCommandLine | grep OTBCommon
libOTBCommon-6.6.so.1 => /home/alobo/OTB-6.6.0-Linux64/lib/libOTBCommon-6.6.so.1 (0x00007f387f577000)
alobo@Delia:~$ objdump -t /home/alobo/OTB-6.6.1-Linux64/lib/libOTBCommon-6.6.so | grep OpenMP
0000000000010a30 g F .text 0000000000000013 _ZN3otb20ConfigurationManager17InitOpenMPThreadsEv