Jerry Kemp <dovecot@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@gmail.com>