PDA

View Full Version : Dovecot build failed during compile



jeroenhn
09-26-2011, 04:08 PM
Hi all,

I'm trying to build dovecot via the custombuild method.
During compilation, I get the following result:



ibtool: link: gcc -shared -fPIC -DPIC .libs/istream-bzlib.o .libs/istream-zlib.o .libs/ostream-zlib.o .libs/ostream-bzlib.o .libs/zlib-plugin.o -lz -lbz2 -lrt -O2 -Wl,-soname -Wl,lib20_zlib_plugin.so -o .libs/lib20_zlib_plugin.so
collect2: ld terminated with signal 11 [Segmentation fault]
make[4]: *** [lib20_zlib_plugin.la] Error 1
make[4]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.0.15/src/plugins/zlib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.0.15/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.0.15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.0.15'
make: *** [all] Error 2

*** The make has failed, would you like to try to make again? (y,n):


The mailbox migrations are all done and I can see mail entering into the imap folders, but obivously, I need dovecot to finish compiling somehow.
Anyone any insight on what may be going wrong here?

Running CentOS 4; uname:
Linux server 2.6.9-101.plus.c4smp #1 SMP Thu Jul 21 19:08:15 EDT 2011 i686 i686 i386 GNU/Linux

Everything seems to be to the latest version available.

Thanks!

Thanks!

nobaloney
09-26-2011, 06:37 PM
Googling for ld terminated with signal 11 [Segmentation fault] finds lots of hits. You might start by reading some of them.

Could be a bad library, or one of lots of other issues.

Anyone else have the problem?

Jeff

jeroenhn
09-27-2011, 12:15 AM
Hi,
Thanks!

I've googled (was the fist thing I did) but i didn't find anything useful yet.

I do believe that a corrupt library is an option. Would there be a way to find out which?

Cheers!
Jeroen