On Apr 6, 2009, at 2:08 PM, Timo Sirainen wrote:
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 `dler...@sunw_1.22' ../lib-dovecot/.libs/libdovecot.so: undefined reference to `dlo...@sunw_1.22' ../lib-dovecot/.libs/libdovecot.so: undefined reference to `dl...@sunw_1.22' ../lib-dovecot/.libs/libdovecot.so: undefined reference to `dlcl...@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..

  I don't see "-ldl" in there anywhere..

          -Dave

--
Dave McGuire
Port Charlotte, FL

Reply via email to