Closed Jean-Daniel closed 4 years ago
@Jean-Daniel Are you compiling the plug-in yourself or using a package from a distro ?
I'm building it myself to use with the repo.dovecot.org bionic release.
To build it, I'm simply doing an apt install dovecot-dev
to get the latest version (from repo.dovecot.org).
git clone https://github.com/grosjo/fts-xapian.git
cd fts-xapian
./configure --with-dovecot=/usr/lib/dovecot/
Don't forget to use "autoreconf -vi" This is really weird, as there is a specific check in the configure and the make for sqlite Can you provide the Makefile generated and the config.log ? (after you type autoreconf -vi )
IMO, it will be packaging problem.
I am building own debian's package, where is dependency on libsqlite3 autodetected and added to package's dependencies automatically, without my effort, see:
apt show dovecot-xapian
Package: dovecot-xapian
Version: 1.3.3-1sla2
...
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libicu63 (>= 63.1-1~), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libxapian30 (>= 1.4.11~)
...
Don't forget to use "autoreconf -vi"
That's it. I forgot to autoreconf. Sorry for the noise
I'm running a dovecot instance that does not use sqlite3 for anything and so don't load it.
When trying to load the fis plugin, it fails because it can't resolve sqlite3 symbols (sqlite3_open/sqlite3_close,…)
because libsqlite is not defined as a dependency for
lib21_fts_xapian_plugin.so
.