When installing DSVIEW 4.5.x.x with the Install Anywhere package, and during the postgres installation process, users get the following error: error initDB.exe stating that LIBINT-8.DLL is missing from the computer (postgres not installing) The same error is returned even when taking the installer from the Postgres side and attempting to install Postgres by its own. This could be due to not being a local administrator, not having the correct rights, or an antivirus interfering with the installation. Below you will find a fix and walkthrough on how to resolve this manually. You can read the following process from the following side: Preparing the PostgreSQL 9.1 Installation This process has two steps: Download and install the Microsoft Visual C++ 2008 redistributable package. Download and unpack the PostgreSQL binary distribution. These steps are described with more details in the following. NOTE: The first step (installing the Microsoft Visual C++ 2008 redistributable package) might not be required anymore. One reader said that he was able to run PostgreSQL without installing it . However, another reader claimed that he had to install Microsoft Visual C++ 2013 redistributable package before he could run PostgreSQL 9.5. Nevertheless, I will leave it here because you still need to do it if you install older PostgreSQL versions by using the binary zip distribution. I am not sure which PostgreSQL versions require the Microsoft Visual C++ 2008 distributable package, but if I remember correctly, I had to install it when I installed PostgreSQL 9.1. Downloading the Microsoft Visual C++ 2008 Redistributable Package The first step is to download and install the Microsoft Visual C++ 2008 redistributable package . Downloading and Unpacking the PostgreSQL binary distribution The second step is to download the binary zip distribution . After you have downloaded the binary zip distribution, you can unzip the binary distribution to the preferred directory. When this is done, the target directory should contain a directory called ‘pgsql’ . This directory contains the binaries of PostgreSQL 9.1. I will refer this directory simply as POSTGRESQL_ROOT (Remember to replace the string POSTGRESQL_ROOT with the actual directory path of you installation when following these instructions). The next step is to create the data and log directories for your PostgreSQL installation. This is done by creating the following directories to the POSTGRESQL_ROOT directory: The ‘data’ directory contains the data files of your PostgreSQL installation. The ‘log’ directory contains the logs of your PostgreSQL installation. You have now finished the needed preparations and can move on to the next phase of the installation process. Configuring the PostgreSQL 9.1 Installation The next step is to create a new PostgreSQL database cluster. You can do this by using the initdb command which is found from the POSTGRESQL_ROOT\bin directory. You can create the database cluster by running the following command from the bin directory of your PostgreSQL installation: initdb -U postgres -A password -E utf8 -W -D POSTGRESQL_ROOT\data The command line parameters of the initdb command are described in following: -U postgres means that the superuser account of your database is called ‘postgres’ . -A password means that password authentication is used. -E utf8 means that the default encoding will be UTF-8. -W means that you will enter the superuser password manually. -D POSTGRESQL_ROOT\data specifies the data directory of your PostgreSQL installation. After you have successfully created the database cluster, your PostgreSQL installation is ready to be used. You can start and stop your database instance by using the following commands: The database can be started by running the following command: "POSTGRESQL_ROOT/bin/pg_ctl" -D "POSTGRESQL_ROOT/data" -l "POSTGRESQL_ROOT/log/pgsql.log" start The database can be stopped by running the following command: "POSTGRESQL_ROOT/bin/pg_ctl" -D "POSTGRESQL_ROOT/data" -l "POSTGRESQL_ROOT/log/pgsql.log" stop To make things as easy as possible, you should create new shortcuts to your desktop and use them for starting and stopping the database server. Note: If you want to run PostgreSQL as a service, you should run the following command: POSTGRESQL_ROOT/bin/pg_ctl.exe register -N "postgresql" -U "NT AUTHORITY\NetworkService" -D "POSTGRESQL_ROOT/data" -w After you have done this, you can start the service by using the Services panel. Ending Notes, This is an external process and we do not troubleshot Postgres Binary installations here. Should you have questions and or still issues with installations of Postgres please visit to following link:
↧