When compiling the preprocessed C code files, the compiler needs to be able to find the
ECPG header files in the EnterpriseDB include directory.
Therefore, one might have to use the -I option when invoking the compiler
(e.g., -I $EDB_HOME/dbserver/include/)
.
Programs using C code with embedded SQL have to be linked against
the -lpgtypes library, for example using the linker options (on Linux):
(e.g. -L $EDB_HOME/dbserver/lib -lpgtypes)
The above paths are valid on Linux. They may vary on other platforms.