Skip to content

Known issues

Pieter Lems edited this page Nov 2, 2020 · 31 revisions

GeoStack - Known issues

Known issues release 1.0.0

20201029Th: The release of PGSQL v13 breaks OSM2PGSQL installation!

As of 29-10-2020 PostgreSQL version 13 was released. The newer version of PostgreSQL is not recognized when running "cmake" to build the OSM2PGSQL files. The following error occurs when running installation script 7: "7-middleware-software-Tileserver.sh" or when running the "cmake" command described on page 109 in the cookbook: "Creating the GeoStack Course VM":

CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found
  version "13.0")

In order to mitigate this error, the following flag was added to the cmake call in both the cookbook and installation script 7: "7-middleware-software-Tileserver.sh":

-DPostgreSQL_TYPE_INCLUDE_DIR=/usr/include/postgresql

This extra flag makes sure that all versions of PGSQL are included and recognized when calling the cmake command. This will also mitigate any similar problems when a newer version of PGSQL is released!

Source: Fix OSM2PGSQL installation error.

Clone this wiki locally