FTS plugin seems not to be linking dynamic libraries correctly:
[root at server ~]# ldd /usr/lib/dovecot/lib20_fts_plugin.so
linux-vdso.so.1 => (0x00007ffd2eb95000)
libicui18n.so.64 => not found
libicuuc.so.64 => not found
libicudata.so.64 => not found
libc.so.6 => /lib64/libc.so.6 (0x00007f1cb5566000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1cb5b73000)
ICU is in custom directory /usr/local/icu, it's not set in ld.so.conf, so,
the linker would need to get this added automatically (that's how it's
handled in PHP, for example):
-Wl,-rpath=/usr/local/icu/lib
Thank you!
--
Best regards,
Martynas Bendorius