| Summary: | net-mail/dovecot-2.0.13 imap_zlib undefined symbol | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Johan Bergström <bugs> |
| Component: | New packages | Assignee: | Eray Aslan <eras> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | net-mail+disabled |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
(In reply to comment #0) > mail_plugins = zlib imap_zlib > > protocol imap { > mail_plugins = imap_zlib > } Try with: mail_plugins = $mail_plugins zlib plugin { zlib_save_level = 6 # 1..9 zlib_save = gz # or bz2 } protocol imap { mail_plugins = $mail_plugins imap_zlib } If it still does not work, please attach doveconf -n output, full build log and emerge --info. Thank you. It was indeed a configuration error. Sorry for the noise :( |
I'm using dovecot on a 32-bit box with USE="zlib", using a config in style with: mail_plugins = zlib imap_zlib protocol imap { mail_plugins = imap_zlib } ..will give this error: Jul 7 11:48:15 s.nu dovecot: lda: Error: dlopen(/usr/lib/dovecot/lib30_imap_zlib_plugin.so) failed: /usr/lib/dovecot/lib30_imap_zlib_plugin.so: undefined symbol: imap_module_register Jul 7 11:48:15 s.nu dovecot: lda: Fatal: Couldn't load required plugins compiling dovecot with clang (scan-build) gave me this possibly related warning: *** Warning: Linking the shared library lib30_imap_zlib_plugin.la against the loadable module *** lib20_zlib_plugin.so is not portable! libtool: link: /usr/bin/ccc-analyzer -shared -fPIC -DPIC .libs/imap-zlib-plugin.o -Wl,-rpath -Wl,/home/jbergstroem/dovecot-2.0.13/src/plugins/zlib/.libs -Wl,-rpath -Wl,/usr/lib/dovecot ../zlib/.libs/lib20_zlib_plugin.so -lrt -O2 -Wl,-soname -Wl,lib30_imap_zlib_plugin.so -o .libs/lib30_imap_zlib_plugin.so I've been in contact with upstream but no response yet.