[Dovecot] Compiling v1.3 on different OSes
Timo Sirainen
tss at iki.fi
Mon Apr 6 21:08:45 EEST 2009
I was hoping to finally get shared libdovecot.so and
libdovecot-storage.so libraries for v1.3, so Sieve (and maybe others)
could link against them. But I'm running into trouble getting it to
compile in Solaris 10. Could you non-Linux users test if this compiles
with you?
http://dovecot.org/tmp/dovecot-1.3.UNSTABLE.tar.gz
Or if anyone has ideas why this happens, I'd like to know:
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/home/cras/include -o .libs/rawlog rawlog.o ../lib-dovecot/.libs/libdovecot.so -lrt -lsocket -lsendfile -Wl,-rpath -Wl,/usr/local/lib/dovecot
../lib-dovecot/.libs/libdovecot.so: undefined reference to `dlerror at SUNW_1.22'
../lib-dovecot/.libs/libdovecot.so: undefined reference to `dlopen at SUNW_1.22'
../lib-dovecot/.libs/libdovecot.so: undefined reference to `dlsym at SUNW_1.22'
../lib-dovecot/.libs/libdovecot.so: undefined reference to `dlclose at SUNW_1.22'
If I disable plugins (so dl*() functions aren't used) it compiles, so
it's only those functions that are problematic. pvs -s /lib/libc.so
lists the dl* functions under SUNW_1.22 so I'd think that should have
worked..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090406/749afee9/attachment.bin
More information about the dovecot
mailing list