Joseph Tam
2017-Aug-26 02:00 UTC
a bit further along - OpenSSL - Re: trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
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/dovecotI 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>
Aki Tuomi
2017-Aug-26 09:24 UTC
a bit further along - OpenSSL - Re: trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
> On August 26, 2017 at 5:00 AM Joseph Tam <jtam.home at gmail.com> wrote: > > > > 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> OpenSSL usually requires both libssl and libcrypto, the -lcrypt probably is for crypt()</jtam.home at gmail.com></dovecot at oryx.us></jtam.home at gmail.com>
Seemingly Similar Threads
- trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
- a bit further along - OpenSSL - Re: trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
- trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
- 2.2.30.2 fails to compile on centos 7
- [PATCH] Manually cleanup OpenSSL from dovecot_openssl_common_global_unref()