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
Sun Aug 27 02:22:02 EEST 2017


Aki Tuomi <aki.tuomi at dovecot.fi> writes:

> > 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.
>
> OpenSSL usually requires both libssl and libcrypto, the -lcrypt probably is for
> crypt()

Makes sense.  So the OP can confirm this is the problem by manually running
the libtool command but adding "-lssl", and if that works, then something screwed
up Makefile or other build files.

Joseph Tam <jtam.home at gmail.com>


More information about the dovecot mailing list