error when compile apache "No recognized SSL/TLS toolkit detected"

In Ubuntu i got this error while installing apache:
configure: error: C compiler cannot create executables

Resolved it with this:
apt-get install libc6-dev g++ gcc

No recognized SSL/TLS toolkit detected
Resolved with:
apt-get install openssl libssl-dev

你可能感兴趣的:(linux,apache,compiler,ubuntu,c)