To execute an application that uses libpq, set the environment variable as shown below.
Required for compile/link
LD_LIBRARY_PATH
symfowareServerClientInstallDir/lib
Required for execution of the application
PGLOCALEDIR
symfowareServerClientInstallDir/share/locale
Example
When the 32-bit version client package is installed.
> LD_LIBRARY_PATH=/opt/symfoclient32/lib:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH > PGLOCALEDIR=/opt/symfoclient32/share/locale;export PGLOCALEDIR
Required for compile/link
LIB
symfowareServerClientInstallDir\lib
INCLUDE
symfowareServerClientInstallDir\include
Required for execution of the application
PATH
symfowareServerClientInstallDir\lib
PGLOCALEDIR
symfowareServerClientInstallDir\share\locale
Example
When the 32-bit version client package is installed on a 64-bit operating system.
> SET PATH=%ProgramFiles(x86)%\Fujitsu\symfoclient32\lib;%PATH% > SET LIB=%ProgramFiles(x86)%\Fujitsu\symfoclient32\lib;%LIB% > SET INCLUDE=%ProgramFiles(x86)%\Fujitsu\symfoclient32\include;%INCLUDE% > SET PGLOCALEDIR=%ProgramFiles(x86)%\Fujitsu\symfoclient32\share\locale