Problem linking with Release library
Igor Korot <ikorot01@gmail.com>
From: Igor Korot <ikorot01@gmail.com>
To: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-05-08T06:36:19Z
Lists: pgsql-general
Hi, A long time ago I built both Debug and Release versions of libpq. For a while I was working with the Debug version without any issues Now I tried to build a Release version of my program. Compilation went fine but during linking I got [code] 1>libpq.lib(snprintf.obj) : warning LNK4217: locally defined symbol _sprintf imported in function _fmtptr 1>libpq.lib(dirmod.obj) : error LNK2001: unresolved external symbol __imp____iob_func 1>libpq.lib(win32error.obj) : error LNK2001: unresolved external symbol __imp____iob_func 1>libpq.lib(fe-connect.obj) : error LNK2001: unresolved external symbol __imp____iob_func 1>libpq.lib(snprintf.obj) : error LNK2001: unresolved external symbol __imp____iob_func 1>libpq.lib(encnames.obj) : error LNK2001: unresolved external symbol __imp____iob_func 1>libpq.lib(chklocale.obj) : error LNK2001: unresolved external symbol __imp____iob_func 1>libpq.lib(fe-exec.obj) : error LNK2019: unresolved external symbol __imp__sscanf referenced in function _pqSaveParameterStatus 1> 33 Warning(s) 1> 8 Error(s) 1> [/code] Do I need to rebuild a Release version with some missing parameters? I'm working with MSVC 2017 for now... Thank you.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove MSVC scripts
- 1301c80b2167 17.0 cited