Maybe someday I'll learn to read the message that tells me how to troubleshoot it.
from my very own post:
"Also see contrib/findssl.sh for help identifying header/library mismatches."
sh ./contrib/findssl.sh tells you what libs and headers are installed. Mine were in /usr/lib (as I would expect). Just look to see what's there and where the symlinks point...
ls -l /usr/lib/libcrypto.so*
And finally, I believe that openssl as to be configured with the "shared" or you won't have the library. I could be wrong, but I can say this... here's my config statments for both openssl and openssh (and it compiled/installed on my Slackware 10.2 box).
./config threads shared zlib --prefix=/usr --openssldir=/usr/openssl
./configure --prefix=/usr --sysconfdir=/etc --with-openssl-dir=/usr/openssl