Denny Schierz
2010-Jul-27 14:16 UTC
[Dovecot] Cant compile managesieve 0.11.11 on Solaris10
hi, i can't compile managesieve-0.11.11 on Solaris 10 against Sieve 0.1.17 and Dovecot 1.2.13: [...] gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/sfw/include -o managesieve-login client.o client-authenticate.o managesieve-capability.o managesieve-proxy.o cmd-noop.o /usr/local/dovecot/src/dovecot-1.2-sieve-0.1.17/src/lib-sieve/.libs/libsieve.a /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a ../../src/lib-managesieve/libmanagesieve.a ../../src/lib-sievestorage/libsievestorage.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-storage/libstorage.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-index/libindex.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-imap/libimap.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-mail/libmail.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-charset/libcharset.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-auth/libauth.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib/liblib.a -L/usr/sfw/lib -lssl -lcrypto -ldl -lldap -lnsl -lsocket -lrt -lsendfile -R/usr/sfw/lib Undefined first referenced symbol in file SSL_COMP_get_name /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o) SSL_get_current_compression /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o) ld: fatal: Symbol referencing errors. No output written to managesieve-login collect2: ld returned 1 exit status gmake[3]: *** [managesieve-login] Error 1 gmake[3]: Leaving directory `/usr/local/dovecot/src/dovecot-1.2-managesieve-0.11.11/src/managesieve-login' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/dovecot/src/dovecot-1.2-managesieve-0.11.11/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/dovecot/src/dovecot-1.2-managesieve-0.11.11' gmake: *** [all] Error 2 [...] I use OpenSSL from OpenSolaris. any suggestions? cu denny -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://dovecot.org/pipermail/dovecot/attachments/20100727/c9973c9d/attachment-0002.bin>
Hello, Please show me configure and Comple Options. $ ./configure OPTIONS and let me resulu of command: $ echo $PATH $ crle> ld: fatal: Symbol referencing errors. No output written toSo, I think OS cannot find OpenSolaris-OpenSSL Library and Header. Where OpenSolaris-OpenSSL was installed in ? /usr/sfw ? Denny Schierz Wrote:> hi, > > i can't compile managesieve-0.11.11 on Solaris 10 against Sieve 0.1.17 > and Dovecot 1.2.13: > > [...] > > gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes > -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 > -Wbad-function-cast -I/usr/sfw/include -o managesieve-login client.o > client-authenticate.o managesieve-capability.o managesieve-proxy.o > cmd-noop.o /usr/local/dovecot/src/dovecot-1.2-sieve-0.1.17/src/lib-sieve/.libs/libsieve.a /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a ../../src/lib-managesieve/libmanagesieve.a ../../src/lib-sievestorage/libsievestorage.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-storage/libstorage.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-index/libindex.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-imap/libimap.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-mail/libmail.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-charset/libcharset.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib-auth/libauth.a /usr/local/dovecot/src/dovecot-1.2.13/src/lib/liblib.a -L/usr/sfw/lib -lssl -lcrypto -ldl -lldap -lnsl -lsocket -lrt -lsendfile -R/usr/sfw/lib > Undefined first referenced > symbol in file > SSL_COMP_get_name /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o) > SSL_get_current_compression /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o) > ld: fatal: Symbol referencing errors. No output written to > managesieve-login > collect2: ld returned 1 exit status > gmake[3]: *** [managesieve-login] Error 1 > gmake[3]: Leaving directory > `/usr/local/dovecot/src/dovecot-1.2-managesieve-0.11.11/src/managesieve-login' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr/local/dovecot/src/dovecot-1.2-managesieve-0.11.11/src' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/local/dovecot/src/dovecot-1.2-managesieve-0.11.11' > gmake: *** [all] Error 2 > > [...] > > I use OpenSSL from OpenSolaris. > > any suggestions? > > cu denny-- /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/* Kenji Iuchi mail to: gc00004 @ m2.gyao.ne.jp kenji.iuchi @ gmail.com /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
Timo Sirainen
2010-Aug-02 12:29 UTC
[Dovecot] Cant compile managesieve 0.11.11 on Solaris10
On Tue, 2010-07-27 at 16:16 +0200, Denny Schierz wrote:> SSL_COMP_get_name /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o) > SSL_get_current_compression /usr/local/dovecot/src/dovecot-1.2.13/src/login-common/liblogin-common.a(ssl-proxy-openssl.o)Oh. I think you can't compile even unpatched Dovecot? For a while I was confused why this would break only with managesieve, but I think it's only because managesieve-login gets compiled before imap/pop3-login. But if you don't have those functions in SSL library, why do you have HAVE_SSL_COMPRESSION defined in config.h? Maybe configure is finding different libssl than what make is later using?
Seemingly Similar Threads
- compiling issue 1.2.6 - Solaris
- Problems with Expire Plugin
- trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
- linking problems of dovecot 2.0.3
- dovecot-2.0-managesieve make fails @ '...libdovecot-login.so: undefined reference to `login_process_preinit''