Installing on a Clark connect box

Ok so I am installing asterisk on a CC box which is running Centos. I am compiling asterisk and I get this message

cryptostub.o buildinfo.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv -lssl
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1

I had that before i can’t remember how i fixed it!.

Ok I figured this out. I need to install Open-ssl and openssl-devl