Linux agent installation error
When trying to compile the source file to install the servers check agent on linux machine, I got this error:
gcc serverscheck.c -o serverscheck
/tmp/ccyHDPqW.o: In function `main':
serverscheck.c:(.text+0x4d): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
gcc serverscheck.c -o serverscheck
/tmp/ccyHDPqW.o: In function `main':
serverscheck.c:(.text+0x4d): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
Comments
yum install net-snmp-utils
yum install net-snmp