[Dovecot] error 89 when loading plugin
Timo Sirainen
tss at iki.fi
Wed Aug 4 19:57:41 EEST 2010
On Mon, 2010-08-02 at 20:42 +1000, John O'Brien wrote:
> As a result of a suggestion from Pascal late last week I spent today loading 2.0.rc3 and converting the plugin to the "new form".
>
> What a nightmare.
>
> Is there an easy way to have a plugin included in the configuration and built as part of the make and make install?
> Everything has changed. I was previously happily generating a .so and putting it the right directory.
> I know this is the wrong way to do it, but I was doing something like this.
It should work the same way in v2.0 as it was working in v1.x..
Although there's now also an easier way:
eval `cat /usr/local/lib/dovecot/dovecot-config`
gcc -fPIC -shared -DHAVE_CONFIG_H \
`echo $DOVECOT_CFLAGS $LIBDOVECOT_INCLUDE $LIBDOVECOT_STORAGE_INCLUDE` \
foo-plugin.c -o foo.so
More information about the dovecot
mailing list