add -lcrypto for openssl 1.0