[Dovecot] : error while loading shared libraries: libdovecot.so.0 (arm cross compile)

Timo Sirainen tss at iki.fi
Tue Aug 30 20:13:14 EEST 2011


On 30.8.2011, at 19.46, Stephen Feyrer wrote:

> *** Warning: Linking the shared library lib02_imap_acl_plugin.la against the loadable module
> *** lib01_acl_plugin.so is not portable!

This is normal.

> /opt/sbin/dovecot: error while loading shared libraries: libdovecot.so.0: cannot open shared object file: No such file or directory

So it's still not working? I guess the libdovecot.so.0 simply isn't in library paths. Typically giving linker -rpath parameter pointing to libdovecot.so.0 makes this problem invisible, but I guess in your system it doesn't do this.

> The outcome of the native compile:
> [/opt/dovecoti] # ./configure --prefix=/opt --enable-devel-checks --enable-maintainer-mode

--enable-devel-checks is pretty useless unless you're developing Dovecot.

> [/opt/etc/dovecot] # gdb --args dovecot -F
> [snip]
> This GDB was configured as "arm-none-linux-gnueabi"...
> (gdb) run
> Starting program: /share/MD0_DATA/optware/opt/sbin/dovecot -F
> Panic: Leaked file fd 3: dev 9.0 inode 53040060

This panic is caused by the --enable-devel-check. It wouldn't have crashed otherwise. You could work around it by setting GDB=1 environment.


More information about the dovecot mailing list