Hi Team,
I am trying to build postgresql switch module using the below steps and get into the error listed below.
C:\Program Files (x86)\Micro Focus\Enterprise Developer\src\enterpriseserver\xa>build pg
ESPGSQLXA.obj
cbllds00004B24.obj
Creating library ESPGSQLXA.lib and object ESPGSQLXA.exp
ESPGSQLXA.obj : error LNK2001: unresolved external symbol _SQLGetInfo@20
ESPGSQLXA.obj : error LNK2001: unresolved external symbol _SQLSetConnectAttr@16
ESPGSQLXA.obj : error LNK2001: unresolved external symbol _SQLGetDiagRec@32
ESPGSQLXA.obj : error LNK2001: unresolved external symbol _SQLGetConnectAttr@20
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\um\arm\odbc32.lib : warning LNK4272: library machine type 'ARM' conflicts with target machine type 'x86'
ESPGSQLXA.dll : fatal error LNK1120: 4 unresolved externals
Error building PostgreSQL switch module. Ensure that the Windows SDK LIB
directory is included in the setting of the LIB environment variable, and
that you have WRITE permission to the current directory.
let me know how to fix this issue.
actually i need the ESPGSSQLXA.dll to configure the XA resources in enterprise server to run COBOL program accessing the postgresql database.
Thank you