Could you please help us with below issue?
We are facing the below error while building(make) Icinga2 (core) with source code.
pgsql has already been installed still we are getting this error
/bin/ld: cannot find -lpq
collect2: error: ld returned 1 exit status
make: *** [Bin/Release/libpgsql_shim.so.2.11.2] Error 1
make: *** [lib/pgsql_shim/CMakeFiles/pgsql_shim.dir/all] Error 2
make: *** [all] Error 2