&gt; On August 26, 2017 at 5:00 AM Joseph Tam <jtam.h...@gmail.com> wrote:
&gt; 
&gt; 
&gt; 
&gt; Jerry Kemp <dove...@oryx.us> wrote:
&gt; 
&gt; &gt; same ENV variable setup and configure statement as originally used, 
but again, :(
&gt; &gt; ended up failing here:
&gt; &gt; 
..........................................................................
&gt; &gt; libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
&gt; &gt; -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
&gt; &gt; -Wbad-function-cast -fno-builtin-strftime
&gt; &gt; -I/Applications/openssl-1.0.2l.32/include
&gt; &gt; -I/Applications/openssl-1.0.2l.32/include/openssl -o 
.libs/test-http-client
&gt; &gt; test-http-client.o  -L/Applications/openssl-1.0.2l.32/lib 
./.libs/libhttp.a
&gt; &gt; ../lib-dns/.libs/libdns.a ../lib-ssl-iostream/.libs/libssl_iostream.a
&gt; &gt; ../lib-master/.libs/libmaster.a ../lib-settings/.libs/libsettings.a
&gt; &gt; ../lib-test/.libs/libtest.a ../lib/.libs/liblib.a
&gt; &gt; ../lib-ssl-iostream/.libs/libssl_iostream_openssl.so -lcrypto -lrt 
-lnsl
&gt; &gt; -lsocket -lsendfile -lcrypt 
-R/Applications/dovecot-2.2.31.32/lib/dovecot
&gt; 
&gt; I simulated your compile arguments as best as I could, and compared the 
libtool
&gt; command in my compile logs with your's.
&gt; 
&gt;    (mine)
&gt;    Mine: -lssl -lcrypto -lrt -lnsl -lsocket -lsendfile
&gt; 
&gt;    (your's)
&gt;    -lcrypto -lrt -lnsl -lsocket -lsendfile -lcrypt
&gt; 
&gt; You're missing "-lssl" but have a spurious "-lcrypt".  Probably all your 
missing symbols are
&gt; actually in libssl.so.
&gt; 
&gt; Joseph Tam <jtam.h...@gmail.com>

OpenSSL usually requires both libssl and libcrypto, the -lcrypt probably is for 
crypt()</jtam.h...@gmail.com></dove...@oryx.us></jtam.h...@gmail.com>

Reply via email to