Cannot complete NRPR 2.12 error - checking for SSL libraries

Hello,

I am trying to resolve this issue

checking for SSL headers… SSL headers found in /usr
checking for SSL libraries… configure: error: Cannot find ssl libraries

After running
sudo ./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib in the nrpe-2.12 directory

I tried the following link
http://forums.meulie.net/t/nrpe-2-12-configure-error-cannot-find-ssl-headers/3575

I install the ssl lib
apt-get install libcurl3-openssl-dev and
sudo apt-get install libssl-dev

It says completed

I even tried reinstalling the nagios plugins as this was suggested somewhere else.

I don’t know what else to do?

Any ideas?

Thanks
Ubuntu 12.04LTS