you need to build the example to get the libhiredis.a file