Running cargo run with diesel crate

I have installed postgres 16.
it is in path and I can create and update database using diesel and psql terminal.
I have installed diesel_cli v2.1.1
diesel setup, diesel migration run works fine and generates schemas and creates tables in my psql database also.
I can see that in PGAdmin 4.
but when I run cargo run I am facing this issue:

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/Users....
...
.."
 = note: ld: library not found for -lpq
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

If you're on Linux, ask your package manager what package owns libpq.so.