a bit further along - OpenSSL - Re: trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!

Joseph Tam jtam.home at gmail.com
Sat Aug 26 05:00:12 EEST 2017


Jerry Kemp <dovecot at oryx.us> wrote:

> same ENV variable setup and configure statement as originally used, but again, :(
> ended up failing here:
> ..........................................................................
> libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
> -Wbad-function-cast -fno-builtin-strftime
> -I/Applications/openssl-1.0.2l.32/include
> -I/Applications/openssl-1.0.2l.32/include/openssl -o .libs/test-http-client
> test-http-client.o  -L/Applications/openssl-1.0.2l.32/lib ./.libs/libhttp.a
> ../lib-dns/.libs/libdns.a ../lib-ssl-iostream/.libs/libssl_iostream.a
> ../lib-master/.libs/libmaster.a ../lib-settings/.libs/libsettings.a
> ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a
> ../lib-ssl-iostream/.libs/libssl_iostream_openssl.so -lcrypto -lrt -lnsl
> -lsocket -lsendfile -lcrypt -R/Applications/dovecot-2.2.31.32/lib/dovecot

I simulated your compile arguments as best as I could, and compared the libtool
command in my compile logs with your's.

 	(mine)
 	Mine: -lssl -lcrypto -lrt -lnsl -lsocket -lsendfile

 	(your's)
 	-lcrypto -lrt -lnsl -lsocket -lsendfile -lcrypt

You're missing "-lssl" but have a spurious "-lcrypt".  Probably all your missing symbols are
actually in libssl.so.

Joseph Tam <jtam.home at gmail.com>


More information about the dovecot mailing list