On Thu, Jul 24, 2008 at 04:30:28PM +0100, Chris Wakelin wrote:
Chris Wakelin wrote:
I can try this in Solaris 10, but I don't really see why the OS/architecture should matter.
Oh, unless there are some bugs in your zlib version, such as related to seeking..
Could be, I imagine it's as prehistoric as the bzlib :)
Right, I've tried dovecot-1.1.2 using my own zlib-1.2.3 (and bzlib-1.0.5) build on Solaris 8:
ldd lib20_zlib_plugin.so gives libz.so => /opt/RDGzlib/lib/libz.so libbz2.so => /opt/RDGbzlib/lib/libbz2.so ...
and get the same problems.
I cannot get Dovecot 1.1.2 to compile at all on Solaris8 with gcc 3.3.4 and newly recompiled versions of bzip2 and zlib libraries. This is the first time I've ever had a problem getting Dovecot to compile under Solaris 8.
Making all in zlib make[4]: Entering directory `/usr/local/src/dovecot/dovecot-1.1.2/src/plugins/zlib' /bin/bash ../../../libtool --tag=CC --mode=link gcc -std=gnu99 -O0 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -module -avoid-version -o lib20_zlib_plugin.la -rpath /usr/local/adm/dovecot/lib/dovecot istream-bzlib.lo istream-zlib.lo zlib-plugin.lo -lz -lbz2 -lrt -lnsl -lsocket gcc -shared -Wl,-h -Wl,lib20_zlib_plugin.so -o .libs/lib20_zlib_plugin.so .libs/istream-bzlib.o .libs/istream-zlib.o .libs/zlib-plugin.o -lz -lbz2 -lrt -lnsl -lsocket -lc Text relocation remains referenced against symbol offset in file <unknown> 0x3ab8 /usr/local/lib/libbz2.a(decompress.o) <unknown> 0x3abc /usr/local/lib/libbz2.a(decompress.o) <unknown> 0x3ac0 /usr/local/lib/libbz2.a(decompress.o) fgetc 0x20e8 /usr/local/lib/libbz2.a(bzlib.o) exit 0x3c /usr/local/lib/libbz2.a(bzlib.o) __ctype 0x2f60 /usr/local/lib/libbz2.a(bzlib.o) __ctype 0x2f68 /usr/local/lib/libbz2.a(bzlib.o) fopen64 0x3104 /usr/local/lib/libbz2.a(bzlib.o) ungetc 0x2100 /usr/local/lib/libbz2.a(bzlib.o) .div 0x8a8 /usr/local/lib/libbz2.a(compress.o) .div 0xabc /usr/local/lib/libbz2.a(blocksort.o) .div 0xe48 /usr/local/lib/libbz2.a(blocksort.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make[4]: *** [lib20_zlib_plugin.la] Error 1
-- Dean Brooks dean@iglou.com