I am trying to use ausearch_set_param, but the same when used along with proper arguments, doesn't compile and gives an undefined reference. Is there some particular library which is to be included to use ausearch_set_param ?
Eg code : ausearch_set_param(au, "auid", "=", "500", AUSEARCH_STOP_EVENT))
Error is :  /tmp/cciCPMs9.o: In function `main':
               parselib.c:(.text+0x61): undefined reference to `ausearch_set_param'
               collect2: ld returned 1 exit status


Please help,
Thanking you,
Mukul Khullar