Give a better warning on header/library mismatch for openssl
Reported by Vinod:
I am getting the following error building tor-0.2.4.22 on my Mac (10.6.8
Snow Leopard, g++ 4.8.1_3, openssl 1.0.1h)
Undefined symbols for architecture x86_64:
"_SSL_set_session_secret_cb", referenced from:
_tor_tls_session_secret_cb in libor-crypto.a(tortls.o)
_tor_tls_new in libor-crypto.a(tortls.o)
"_EVP_aes_128_ctr", referenced from:
_aes_new_cipher in libor-crypto.a(aes.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [src/or/tor] Error 1
make: *** [all] Error 2
He says he's building from the tarball. I asked him to check if 0.2.5.4-alpha tarball has the same issue and he says it does.