Mangoh red and postgresql

Hey!!

I am trying to connect and send data to a postgresql database from a mangoh red IOT device.

But whenever I include a header file of pgsql , the whole project gives “recipe for target, ‘target’ fail”

Any leads will be appreciated. thanks