Dune Compilation Error on Setting Up postgresql

I am facing an error message trying to use postgres, caqti on my project, but i am getting this error message, when i try, dune build.

dune build
File "bin/dune", line 3, characters 7-11:
3 |  (name main)
           ^^^^
** Cannot resolve symbols for C:\Users\chukw\AppData\Local\opam\default\lib\postgresql\libpostgresql_stubs.a(postgresql_stubs.o):
 PQbackendPID                                                                       
 PQbinaryTuples
 PQcancel
 PQclear
 PQcmdStatus
 PQcmdTuples
 PQconndefaults
 PQconnectPoll
 PQconnectStart
 PQconnectdb
 PQconninfoFree
 PQconsumeInput
 PQdb
 PQendcopy
 PQerrorMessage
 PQescapeByteaConn
 PQescapeStringConn
 PQexec
 PQexecParams
 PQfformat
 PQfinish
 PQflush
 PQfmod
 PQfname
 PQfnumber
 PQfreeCancel
 PQfreemem
 PQfsize
 PQftype
 PQgetCancel
 PQgetCopyData
 PQgetResult
 PQgetisnull
 PQgetlength
 PQgetline
 PQgetlineAsync
 PQgetvalue
 PQhost
 PQisBusy
 PQisnonblocking
 PQmakeEmptyPGresult
 PQnfields
 PQnotifies
 PQntuples
 PQoidValue
 PQoptions
 PQpass
 PQport
 PQputCopyData
 PQputCopyEnd
 PQputline
 PQputnbytes
 PQresStatus
 PQreset
 PQresetPoll
 PQresetStart
 PQresultErrorField
 PQresultErrorMessage
 PQresultStatus
 PQsendPrepare
 PQsendQuery
 PQsendQueryParams
 PQsendQueryPrepared
 PQserverVersion
 PQsetNoticeProcessor
 PQsetnonblocking
 PQsocket
 PQstatus
 PQtty
 PQunescapeBytea
 PQuser
 lo_close
 lo_creat
 lo_export
 lo_import
 lo_lseek
 lo_open
 lo_read
 lo_tell
 lo_unlink
 lo_write
File "caml_startup", line 1:
Error: Error during linking (exit code 2)