I‘m trying to compile mini_sendmail as described here. But I’m getting the following error after tying the make command:
gcc -O -c mini_sendmail.c
gcc -O -s -static mini_sendmail.o -o mini_sendmail
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [mini_sendmail] Error 1
How do I fix this problem under RHEL 6?