Well this is a very rare error, with only about 7 entries in Google and another 2 or 3 in languages that I don't understand.
Unfortunately, none of those entries have the answer. Its just radio silence. I got this error when trying to copile the tomcat library that uses the Apache Portable Runtime ( apr ). Since this was completely frustrating to me and the internet community has served me well in the past I thought I would repay the favor in the hopes that someone else suffers a few less hours in their life.
After tearing my hair out for several hours and hitting the bottle, I stumbled upon a very simple answer. You need to install openssl-devel. If you are using CentOS like moi, then simply do "yum install openssl-devel". Voila.
All the best,
Dan J
Bulldog Data Services
BulldogData - Since I can't post a url to other sites without having posted more than once you will have to just add the .com here to get to my site if you so desire to go there. Since I have actually posted an answer to a valid question here, hopefully the admins on the forum will look kindly on my little ploy to get around this limitation, since I am a busy man and don't have time to post multiple messages on internet forums all day.