error configuring Bro

Hi
I'm trying again to configure Bro with the following options

./configure --enable-shippedpcap --with-openssl=/usr/local/ssl

checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for OPENSSL_add_all_algorithms_conf in -lcrypto... no
configure: error: cannot find libcrypto, sorry
configure: error: ./configure failed for aux/broccoli

there is a file libcrypto.a in /usr/local/ssl/lib, why is it not able to find? should I specify the path? with what option?
thanks for your help.
sirisha.

Hi, do you get the above output during Bro's configuration, or
Broccoli's? As always, posting the relevant parts of config.log is going
to be crucial in solving this one.